summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/tdelibs/debian
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-10-02 20:22:28 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-10-02 20:22:28 +0200
commitcc3858bd8844988a5c49afb168be806168bea7e0 (patch)
tree12bbf83a9826e9daf9259c0b7d8feada197d8751 /ubuntu/raring/tdelibs/debian
parent8af8d5c2c458ec76eca7074bed52ea49e73b477c (diff)
parent47864a912b26acfd0a5c4c0a8be6bfd8df892dd8 (diff)
downloadtde-packaging-cc3858bd8844988a5c49afb168be806168bea7e0.tar.gz
tde-packaging-cc3858bd8844988a5c49afb168be806168bea7e0.zip
RPM Packaging: updates
Diffstat (limited to 'ubuntu/raring/tdelibs/debian')
-rwxr-xr-xubuntu/raring/tdelibs/debian/rules35
-rwxr-xr-xubuntu/raring/tdelibs/debian/tdecmshell6
2 files changed, 36 insertions, 5 deletions
diff --git a/ubuntu/raring/tdelibs/debian/rules b/ubuntu/raring/tdelibs/debian/rules
index d64786b7d..6889b4098 100755
--- a/ubuntu/raring/tdelibs/debian/rules
+++ b/ubuntu/raring/tdelibs/debian/rules
@@ -20,9 +20,38 @@ DEB_KDE_APIDOX := yes
version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(DEB_VERSION)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" -DWITH_GCC_VISIBILITY="ON" -DWITH_LIBBFD="ON" \
--DWITH_LIBART="ON" -DWITH_LIBIDN="ON" -DWITH_TIFF="ON" -DWITH_JASPER="ON" -DWITH_OPENEXR="ON" -DWITH_AVAHI="ON" -DWITH_ASPELL="ON" -DWITH_HSPELL="ON" -DWITH_ELFICON="ON" -DWITH_TDEHWLIB_DAEMONS="ON" -DWITH_UPOWER="ON" -DWITH_UDISKS="ON" -DWITH_UDISKS2="ON" -DWITH_CONSOLEKIT="ON" -DWITH_NETWORK_MANAGER_BACKEND="ON" -DWITH_LZMA="ON" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_GCC_VISIBILITY="ON" \
+ -DWITH_LIBBFD="ON" \
+ -DWITH_LIBART="ON" \
+ -DWITH_LIBIDN="ON" \
+ -DWITH_TIFF="ON" \
+ -DWITH_JASPER="ON" \
+ -DWITH_OPENEXR="ON" \
+ -DWITH_AVAHI="ON" \
+ -DWITH_ASPELL="ON" \
+ -DWITH_HSPELL="ON" \
+ -DWITH_ELFICON="ON" \
+ -DWITH_TDEHWLIB_DAEMONS="ON" \
+ -DWITH_UPOWER="ON" \
+ -DWITH_UDISKS="ON" \
+ -DWITH_UDISKS2="ON" \
+ -DWITH_CONSOLEKIT="ON" \
+ -DWITH_NETWORK_MANAGER_BACKEND="ON" \
+ -DWITH_LZMA="ON" \
+ -DWITH_XRANDR="ON" \
+ -DWITH_XCOMPOSITE="ON" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
diff --git a/ubuntu/raring/tdelibs/debian/tdecmshell b/ubuntu/raring/tdelibs/debian/tdecmshell
index 4e24cd356..64dea7e87 100755
--- a/ubuntu/raring/tdelibs/debian/tdecmshell
+++ b/ubuntu/raring/tdelibs/debian/tdecmshell
@@ -1,4 +1,6 @@
#!/bin/sh
-export TDEDIRS=/usr/:/opt/trinity/
-/opt/trinity/bin/tdecmshell.real $1 $2 $3 $4 $5 $6 $7 $8
+export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
+export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
+
+${0}.real "$@"