RPM Packaging: updates

pull/3/head
François Andriot 11 years ago
commit cc3858bd88

@ -8,7 +8,7 @@ Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/ Homepage: http://www.methylblue.com/filelight/
Package: filelight-l10n-trinity Package: filelight-l10n-trinity
Architecture: any Architecture: all
Depends: ${shlibs:Depends} , filelight-trinity Depends: ${shlibs:Depends} , filelight-trinity
Replaces: filelight-l10n-trinity (<< 4:14.0.0~) Replaces: filelight-l10n-trinity (<< 4:14.0.0~)
Breaks: filelight-l10n-trinity (<< 4:14.0.0~) Breaks: filelight-l10n-trinity (<< 4:14.0.0~)
@ -17,5 +17,5 @@ Description: Localization (l10n) for Filelight, disk space usage tool [Trinity]
Filelight, Filelight allows you to understand your disk usage by graphically Filelight, Filelight allows you to understand your disk usage by graphically
representing your filesystem as a set of concentric, segmented rings. representing your filesystem as a set of concentric, segmented rings.
. .
See the 'filelight' package description for more information. See the 'filelight-trinity' package description for more information.

@ -14,12 +14,12 @@ index 7c45fcf..b933832 100644
} }
else else
{ {
-// if (getenv("USER") != "root") -// if (getenv("USER") != TQString("root"))
-// { -// {
-// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); -// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-// exit(0); -// exit(0);
-// } -// }
+ if (getenv("USER") != "root") + if (getenv("USER") != TQString("root"))
+ { + {
+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); + KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
+ exit(0); + exit(0);

@ -1,2 +1,2 @@
10_su-to-root_usage.diff # 10_su-to-root_usage.diff
13_add_kuser_issuperuser.diff 13_add_kuser_issuperuser.diff

@ -20,9 +20,38 @@ DEB_KDE_APIDOX := yes
version=Debian Package $(DEB_VERSION) version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(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" \ DEB_CMAKE_EXTRA_FLAGS := \
-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" \ -DLIB_SUFFIX="" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -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 # Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS. # never build in parallel, regardless of DEB_BUILD_OPTIONS.

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
export TDEDIRS=/usr/:/opt/trinity/ export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
/opt/trinity/bin/tdecmshell.real $1 $2 $3 $4 $5 $6 $7 $8 export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
${0}.real "$@"

@ -8,7 +8,7 @@ Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/ Homepage: http://www.methylblue.com/filelight/
Package: filelight-l10n-trinity Package: filelight-l10n-trinity
Architecture: any Architecture: all
Depends: ${shlibs:Depends} , filelight-trinity Depends: ${shlibs:Depends} , filelight-trinity
Replaces: filelight-l10n-trinity (<< 4:14.0.0~) Replaces: filelight-l10n-trinity (<< 4:14.0.0~)
Breaks: filelight-l10n-trinity (<< 4:14.0.0~) Breaks: filelight-l10n-trinity (<< 4:14.0.0~)
@ -17,5 +17,5 @@ Description: Localization (l10n) for Filelight, disk space usage tool [Trinity]
Filelight, Filelight allows you to understand your disk usage by graphically Filelight, Filelight allows you to understand your disk usage by graphically
representing your filesystem as a set of concentric, segmented rings. representing your filesystem as a set of concentric, segmented rings.
. .
See the 'filelight' package description for more information. See the 'filelight-trinity' package description for more information.

@ -14,12 +14,12 @@ index 7c45fcf..b933832 100644
} }
else else
{ {
-// if (getenv("USER") != "root") -// if (getenv("USER") != TQString("root"))
-// { -// {
-// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); -// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-// exit(0); -// exit(0);
-// } -// }
+ if (getenv("USER") != "root") + if (getenv("USER") != TQString("root"))
+ { + {
+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); + KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
+ exit(0); + exit(0);

@ -1,2 +1,2 @@
10_su-to-root_usage.diff # 10_su-to-root_usage.diff
13_add_kuser_issuperuser.diff 13_add_kuser_issuperuser.diff

@ -20,9 +20,38 @@ DEB_KDE_APIDOX := yes
version=Debian Package $(DEB_VERSION) version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(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" \ DEB_CMAKE_EXTRA_FLAGS := \
-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" \ -DLIB_SUFFIX="" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -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 # Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS. # never build in parallel, regardless of DEB_BUILD_OPTIONS.

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
export TDEDIRS=/usr/:/opt/trinity/ export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
/opt/trinity/bin/tdecmshell.real $1 $2 $3 $4 $5 $6 $7 $8 export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
${0}.real "$@"

@ -8,7 +8,7 @@ Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/ Homepage: http://www.methylblue.com/filelight/
Package: filelight-l10n-trinity Package: filelight-l10n-trinity
Architecture: any Architecture: all
Depends: ${shlibs:Depends} , filelight-trinity Depends: ${shlibs:Depends} , filelight-trinity
Replaces: filelight-l10n-trinity (<< 4:14.0.0~) Replaces: filelight-l10n-trinity (<< 4:14.0.0~)
Breaks: filelight-l10n-trinity (<< 4:14.0.0~) Breaks: filelight-l10n-trinity (<< 4:14.0.0~)
@ -17,5 +17,5 @@ Description: Localization (l10n) for Filelight, disk space usage tool [Trinity]
Filelight, Filelight allows you to understand your disk usage by graphically Filelight, Filelight allows you to understand your disk usage by graphically
representing your filesystem as a set of concentric, segmented rings. representing your filesystem as a set of concentric, segmented rings.
. .
See the 'filelight' package description for more information. See the 'filelight-trinity' package description for more information.

@ -14,12 +14,12 @@ index 7c45fcf..b933832 100644
} }
else else
{ {
-// if (getenv("USER") != "root") -// if (getenv("USER") != TQString("root"))
-// { -// {
-// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); -// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-// exit(0); -// exit(0);
-// } -// }
+ if (getenv("USER") != "root") + if (getenv("USER") != TQString("root"))
+ { + {
+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); + KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
+ exit(0); + exit(0);

@ -1,2 +1,2 @@
10_su-to-root_usage.diff # 10_su-to-root_usage.diff
13_add_kuser_issuperuser.diff 13_add_kuser_issuperuser.diff

@ -20,9 +20,38 @@ DEB_KDE_APIDOX := yes
version=Debian Package $(DEB_VERSION) version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(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" \ DEB_CMAKE_EXTRA_FLAGS := \
-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" \ -DLIB_SUFFIX="" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -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 # Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS. # never build in parallel, regardless of DEB_BUILD_OPTIONS.

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
export TDEDIRS=/usr/:/opt/trinity/ export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
/opt/trinity/bin/tdecmshell.real $1 $2 $3 $4 $5 $6 $7 $8 export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
${0}.real "$@"

@ -1,29 +0,0 @@
--- gtk-qt-engine/kcm_gtk/kcmgtk.cpp.ORI 2013-07-23 23:35:16.614406882 +0200
+++ gtk-qt-engine/kcm_gtk/kcmgtk.cpp 2013-07-23 23:56:39.121594541 +0200
@@ -261,13 +261,22 @@
}
}
+ bool gtk3installed = false;
widget->styleBox3->clear();
TQStringList otherGtk3Styles = gtk3Themes.keys();
- otherGtk3Styles.remove(otherGtk3Styles.find("tdegtk"));
- widget->styleBox3->insertStringList(otherGtk3Styles);
-
- bool gtk3installed = (gtk3Themes.find("tdegtk") != gtk3Themes.end());
+ if(!otherGtk3Styles.empty()) {
+ otherGtk3Styles.remove(otherGtk3Styles.find("tdegtk"));
+ if(!otherGtk3Styles.empty()) {
+ gtk3installed = (gtk3Themes.find("tdegtk") != gtk3Themes.end());
+ }
+ }
+ if(gtk3installed) {
+ widget->styleBox3->insertStringList(otherGtk3Styles);
+ }
+ otherGtk3Styles.clear();
widget->styleKde3->setEnabled(gtk3installed);
+ widget->styleBox3->setEnabled(gtk3installed);
+ widget->styleOther3->setEnabled(gtk3installed);
widget->warning4->setHidden(gtk3installed);
widget->warning5->setHidden(gtk3installed);
widget->warning6->setHidden(gtk3installed);

@ -45,7 +45,6 @@ Source2: gtkrc-2.0-kde4
Source3: gtkrc-2.0-kde-kde4 Source3: gtkrc-2.0-kde-kde4
Patch0: gtk-qt-engine-14.0.0-debug.patch Patch0: gtk-qt-engine-14.0.0-debug.patch
Patch1: gtk-qt-engine-14.0.0-fix_gtk3_segv.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-arts-devel >= 1:1.5.10
@ -74,7 +73,6 @@ a way to configure it from within KControl.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .debug %patch0 -p1 -b .debug
#patch1 -p1 -b .segv
%build %build

@ -105,13 +105,13 @@ cd build
-DDATA_INSTALL_DIR=%{tde_datadir}/apps \ -DDATA_INSTALL_DIR=%{tde_datadir}/apps \
-DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \ -DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \
-DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}"\
-DDOC_INSTALL_DIR=%{tde_tdedocdir} \ -DDOC_INSTALL_DIR=%{tde_tdedocdir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
\ \
-DUSE_STRIGI=OFF \ -DUSE_STRIGI=OFF \
-DUSE_MENUDRAKE=OFF \ -DUSE_MENUDRAKE=OFF \
-DBUILD_DOC=ON \ -DBUILD_ALL=ON \
-DBUILD_ALL=OFF \
.. ..
# Not SMP safe ! # Not SMP safe !
@ -166,12 +166,14 @@ update-desktop-database %{tde_appdir} &> /dev/null
%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop %{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop
%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop %{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop
%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop %{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop
#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg %{tde_tdedocdir}/HTML/en/kbfxconfigapp/
#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/ %{tde_docdir}/kbfx/
%{tde_tdedocdir}/kbfx/
%{tde_datadir}/icons/hicolor/*/apps/kbfx.png %{tde_datadir}/icons/hicolor/*/apps/kbfx.png
%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png %{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png
#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo %lang(bg) %{tde_datadir}/locale/bg/LC_MESSAGES/kbfxconfigapp.mo
%lang(hu) %{tde_datadir}/locale/hu/LC_MESSAGES/kbfxconfigapp.mo
%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/kbfxconfigapp.mo
%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/kbfxconfigapp.mo
%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop %{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop

@ -111,9 +111,7 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-new-ldflags \ --enable-new-ldflags \
--enable-closure \ --enable-closure \
--enable-rpath \ --enable-rpath \
--enable-gcc-hidden-visibility \ --enable-gcc-hidden-visibility
\
--with-extra-includes=/usr/include/cdda
%__make %{?_smp_mflags} %__make %{?_smp_mflags}

@ -46,7 +46,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: tde-guidance-14.0.0-tqt3.patch #Patch1: tde-guidance-14.0.0-tqt3.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-arts-devel >= 1:1.5.10
@ -146,7 +146,9 @@ or can be run as standalone applications.
%exclude %{tde_datadir}/apps/guidance/MonitorsDB %exclude %{tde_datadir}/apps/guidance/MonitorsDB
# Files from powermanager # Files from powermanager
%if 0%{?with_powermanager}
%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png %exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
%endif
%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png %exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png
%exclude %{tde_datadir}/apps/guidance/pics/battery*.png %exclude %{tde_datadir}/apps/guidance/pics/battery*.png
%exclude %{tde_datadir}/apps/guidance/pics/processor.png %exclude %{tde_datadir}/apps/guidance/pics/processor.png
@ -259,7 +261,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .tqt3 #patch1 -p1 -b .tqt3
%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion}
%__sed -i "userconfig/unixauthdb.py" \ %__sed -i "userconfig/unixauthdb.py" \

@ -41,8 +41,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch3: tdepowersave-14.0.0-test.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
@ -89,7 +87,6 @@ settings for:
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
#patch3 -p1 -b .test
%build %build

@ -273,7 +273,6 @@ grpiui applications/klcddimmer
if [ "${DIST}" != ".el4" ]; then if [ "${DIST}" != ".el4" ]; then
grpiui applications/kmplayer grpiui applications/kmplayer
fi fi
grpiui applications/kmyfirewall grpiui applications/kmyfirewall
grpiui applications/kmymoney grpiui applications/kmymoney
grpiui applications/knemo grpiui applications/knemo

@ -27,7 +27,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: libcaldav-14.0.0-older_libcurl.patch #Patch1: libcaldav-14.0.0-older_libcurl.patch
BuildRequires: libtool BuildRequires: libtool
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
@ -75,7 +75,7 @@ Provides: libcaldav-devel = %{version}-%{release}
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .libcurl #patch1 -p1 -b .libcurl
./autogen.sh ./autogen.sh

@ -1,33 +0,0 @@
--- trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip.ORI 2013-07-03 20:23:06.054830311 +0200
+++ trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip 2013-07-03 20:23:14.833911835 +0200
@@ -2196,7 +2196,7 @@
// See if it is a TQt signal.
if (*sig == '2')
{
- pyqt3TQtSignal *tab;
+ pyqt3QtSignal *tab;
// Search the table.
for (tab = ((pyqt3ClassTypeDef *)((sipWrapperType *)(self->ob_type))->type)->qt3_emit; tab->st_name != NULL; ++tab)
--- trinity-python-tqt-14.0.0~pre36+d3f27c3e/configure.py.ORI 2013-07-23 18:00:47.017942165 +0200
+++ trinity-python-tqt-14.0.0~pre36+d3f27c3e/configure.py 2013-07-23 18:01:40.757575552 +0200
@@ -321,6 +321,9 @@
makefile.extra_include_dirs.append(qt_dir + "/src/3rdparty/zlib")
makefile.extra_include_dirs.append(os.path.join(src_dir, "pyuic3"))
+ if not os.access("pyuic3", os.F_OK):
+ os.mkdir("pyuic3")
+
makefile.generate()
tool_dirs.append("pyuic3")
@@ -350,6 +353,9 @@
makefile.extra_include_dirs.append(os.path.join(src_dir, "pylupdate3"))
+ if not os.access("pylupdate3", os.F_OK):
+ os.mkdir("pylupdate3")
+
makefile.generate()
tool_dirs.append("pylupdate3")
elif qt_version >= 0x020000:

@ -14,6 +14,7 @@ License: GPL
Summary: TQt bindings for Python Summary: TQt bindings for Python
Group: System Environment/Libraries Group: System Environment/Libraries
Obsoletes: PyQt
Obsoletes: trinity-PyQt Obsoletes: trinity-PyQt
Obsoletes: trinity-python-qt3 Obsoletes: trinity-python-qt3
@ -24,10 +25,9 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: python-tqt-14.0.0-ftbfs.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: trinity-tqtinterface-devel >= %{version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tqscintilla-devel BuildRequires: trinity-tqscintilla-devel
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
@ -140,7 +140,6 @@ packages based on them, like PyTDE.
%prep %prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1
%build %build

@ -93,7 +93,6 @@ Requires: trinity-digikam
Requires: trinity-dolphin Requires: trinity-dolphin
Requires: trinity-filelight Requires: trinity-filelight
Requires: trinity-gwenview Requires: trinity-gwenview
Requires: trinity-gwenview-i18n
Requires: trinity-k3b Requires: trinity-k3b
Requires: trinity-k9copy Requires: trinity-k9copy
Requires: trinity-kaffeine Requires: trinity-kaffeine
@ -205,6 +204,7 @@ Obsoletes: trinity-tde-guidance-powermanager
# Debian/Ubuntu specific ... # Debian/Ubuntu specific ...
#Requires: trinity-adept #Requires: trinity-adept
#Requires: trinity-gwenview-i18n
# Beagle does not exist anymore, so Kerry is now useless. # Beagle does not exist anymore, so Kerry is now useless.
#Requires: trinity-kerry #Requires: trinity-kerry
@ -310,7 +310,7 @@ Summary: Default wallpaper for Trinity
%__sed %{SOURCE0} \ %__sed %{SOURCE0} \
-e 's/\$releasever/%{fedora}/g' \ -e 's/\$releasever/%{fedora}/g' \
-e 's/-fedora/-f%{fedora}/g' \ -e 's/-fedora/-f%{fedora}/g' \
>"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo" >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity.repo"
%endif %endif
# RHEL configuration for YUM # RHEL configuration for YUM
@ -318,10 +318,11 @@ Summary: Default wallpaper for Trinity
%if 0%{?rhel} %if 0%{?rhel}
%__sed %{SOURCE1} \ %__sed %{SOURCE1} \
-e 's/\$releasever/%{rhel}/g' \ -e 's/\$releasever/%{rhel}/g' \
>"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo" >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity.repo"
%endif %endif
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
%__sed -i %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo -e "s|3.5.13|r14|g"
%__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo %__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo
%endif %endif
@ -337,26 +338,5 @@ Summary: Default wallpaper for Trinity
%endif %endif
%changelog %changelog
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
- Update to version 3.5.13.2 - Initial build for TDE R14
- Add GPG signing key
* Mon Oct 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
- Update to version 3.5.13.1
* Mon Aug 06 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-6
- Add 'applications' subpackage
* Wed Aug 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
- Updates to reflect new packages names
- Add Mageia 2 support
- Removes 'extras' packages
* Wed Jun 06 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
- Enable mirrorlist
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
- Fix repo files name and content
* Sat Nov 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- Add 'repo' package

@ -244,8 +244,8 @@ a tab bar, a Python browser and even more.
Summary: Trinity file dialog plugins for text files and folders Summary: Trinity file dialog plugins for text files and folders
Group: Applications/Utilities Group: Applications/Utilities
Obsoletes: trinity-kfile-plugins < %{version}-%{release} Obsoletes: trinity-tdeaddons-kfile-plugins < %{version}-%{release}
Provides: trinity-kfile-plugins = %{version}-%{release} Provides: trinity-tdeaddons-kfile-plugins = %{version}-%{release}
%description tdefile-plugins %description tdefile-plugins
This is a collection of plugins for the TDE file dialog. These plugins This is a collection of plugins for the TDE file dialog. These plugins

@ -389,6 +389,7 @@ BuildRequires: gnome-screensaver
BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
%endif %endif
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 %if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
BuildRequires: xscreensaver
BuildRequires: libXScrnSaver-devel BuildRequires: libXScrnSaver-devel
%endif %endif
%if 0%{?suse_version} == 1140 %if 0%{?suse_version} == 1140
@ -3364,7 +3365,7 @@ cd build
-DWITH_TDEHWLIB=ON \ -DWITH_TDEHWLIB=ON \
-DWITH_UPOWER=ON \ -DWITH_UPOWER=ON \
-DWITH_GCC_VISIBILITY=ON \ -DWITH_GCC_VISIBILITY=ON \
-DWITH_KDESKTOP_LOCK_BACKTRACE=OFF \ \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
%if 0%{?suse_version} %if 0%{?suse_version}
-DKCHECKPASS_PAM_SERVICE="xdm" \ -DKCHECKPASS_PAM_SERVICE="xdm" \
@ -3396,10 +3397,6 @@ cd build
%__install -D -m 644 \ %__install -D -m 644 \
"%{?buildroot}%{tde_datadir}/apps/tdm/sessions/tde.desktop" \ "%{?buildroot}%{tde_datadir}/apps/tdm/sessions/tde.desktop" \
"%{?buildroot}%{_datadir}/xsessions/tde.desktop" "%{?buildroot}%{_datadir}/xsessions/tde.desktop"
# Force session name to be 'TDE'
%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \
-e "s,^Name=.*,Name=TDE,"
%endif %endif
# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora # Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora
@ -3435,7 +3432,7 @@ EOF
# TDM configuration # TDM configuration
%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/tdm/tdmrc" \ %__sed -i "%{?buildroot}%{_sysconfdir}/trinity/tdm/tdmrc" \
%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 %if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210
-e "s/^#*MinShowUID=.*/MinShowUID=1000/" -e "s/^#*MinShowUID=.*/MinShowUID=1000/"
%else %else
-e "s/^#*MinShowUID=.*/MinShowUID=500/" -e "s/^#*MinShowUID=.*/MinShowUID=500/"
@ -3455,9 +3452,9 @@ EOF
%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives" %__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" %__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase"
# SUSE: creates DM config file, used by '/etc/init.d/xdm' # SUSE >= 12 : creates DM config file, used by '/etc/init.d/xdm'
# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager' # You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager'
%if 0%{?suse_version} %if 0%{?suse_version} >= 1210
%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" %__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm"
%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g" %__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g"
%endif %endif

@ -8,7 +8,7 @@ Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/ Homepage: http://www.methylblue.com/filelight/
Package: filelight-l10n-trinity Package: filelight-l10n-trinity
Architecture: any Architecture: all
Depends: ${shlibs:Depends} , filelight-trinity Depends: ${shlibs:Depends} , filelight-trinity
Replaces: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~) Replaces: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~)
Breaks: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~) Breaks: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~)
@ -17,5 +17,5 @@ Description: Localization (l10n) for Filelight, disk space usage tool [Trinity]
Filelight, Filelight allows you to understand your disk usage by graphically Filelight, Filelight allows you to understand your disk usage by graphically
representing your filesystem as a set of concentric, segmented rings. representing your filesystem as a set of concentric, segmented rings.
. .
See the 'filelight' package description for more information. See the 'filelight-trinity' package description for more information.

@ -14,12 +14,12 @@ index 7c45fcf..b933832 100644
} }
else else
{ {
-// if (getenv("USER") != "root") -// if (getenv("USER") != TQString("root"))
-// { -// {
-// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); -// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-// exit(0); -// exit(0);
-// } -// }
+ if (getenv("USER") != "root") + if (getenv("USER") != TQString("root"))
+ { + {
+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); + KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
+ exit(0); + exit(0);

@ -1,2 +1,2 @@
10_su-to-root_usage.diff # 10_su-to-root_usage.diff
13_add_kuser_issuperuser.diff 13_add_kuser_issuperuser.diff

@ -20,9 +20,38 @@ DEB_KDE_APIDOX := yes
version=Debian Package $(DEB_VERSION) version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(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" \ DEB_CMAKE_EXTRA_FLAGS := \
-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" \ -DLIB_SUFFIX="" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -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 # Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS. # never build in parallel, regardless of DEB_BUILD_OPTIONS.

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
export TDEDIRS=/usr/:/opt/trinity/ export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
/opt/trinity/bin/tdecmshell.real $1 $2 $3 $4 $5 $6 $7 $8 export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
${0}.real "$@"

@ -8,7 +8,7 @@ Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/ Homepage: http://www.methylblue.com/filelight/
Package: filelight-l10n-trinity Package: filelight-l10n-trinity
Architecture: any Architecture: all
Depends: ${shlibs:Depends} , filelight-trinity Depends: ${shlibs:Depends} , filelight-trinity
Replaces: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~) Replaces: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~)
Breaks: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~) Breaks: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~)
@ -17,5 +17,5 @@ Description: Localization (l10n) for Filelight, disk space usage tool [Trinity]
Filelight, Filelight allows you to understand your disk usage by graphically Filelight, Filelight allows you to understand your disk usage by graphically
representing your filesystem as a set of concentric, segmented rings. representing your filesystem as a set of concentric, segmented rings.
. .
See the 'filelight' package description for more information. See the 'filelight-trinity' package description for more information.

@ -14,12 +14,12 @@ index 7c45fcf..b933832 100644
} }
else else
{ {
-// if (getenv("USER") != "root") -// if (getenv("USER") != TQString("root"))
-// { -// {
-// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); -// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-// exit(0); -// exit(0);
-// } -// }
+ if (getenv("USER") != "root") + if (getenv("USER") != TQString("root"))
+ { + {
+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); + KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
+ exit(0); + exit(0);

@ -1,2 +1,2 @@
10_su-to-root_usage.diff # 10_su-to-root_usage.diff
13_add_kuser_issuperuser.diff 13_add_kuser_issuperuser.diff

@ -20,9 +20,38 @@ DEB_KDE_APIDOX := yes
version=Debian Package $(DEB_VERSION) version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(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" \ DEB_CMAKE_EXTRA_FLAGS := \
-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" \ -DLIB_SUFFIX="" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -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 # Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS. # never build in parallel, regardless of DEB_BUILD_OPTIONS.

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
export TDEDIRS=/usr/:/opt/trinity/ export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
/opt/trinity/bin/tdecmshell.real $1 $2 $3 $4 $5 $6 $7 $8 export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
${0}.real "$@"

@ -8,7 +8,7 @@ Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/ Homepage: http://www.methylblue.com/filelight/
Package: filelight-l10n-trinity Package: filelight-l10n-trinity
Architecture: any Architecture: all
Depends: ${shlibs:Depends} , filelight-trinity Depends: ${shlibs:Depends} , filelight-trinity
Replaces: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~) Replaces: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~)
Breaks: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~) Breaks: filelight-l10n-kde3 (<< 4:14.0.0~), filelight-l10n-trinity (<< 4:14.0.0~)
@ -17,5 +17,5 @@ Description: Localization (l10n) for Filelight, disk space usage tool [Trinity]
Filelight, Filelight allows you to understand your disk usage by graphically Filelight, Filelight allows you to understand your disk usage by graphically
representing your filesystem as a set of concentric, segmented rings. representing your filesystem as a set of concentric, segmented rings.
. .
See the 'filelight' package description for more information. See the 'filelight-trinity' package description for more information.

@ -14,12 +14,12 @@ index 7c45fcf..b933832 100644
} }
else else
{ {
-// if (getenv("USER") != "root") -// if (getenv("USER") != TQString("root"))
-// { -// {
-// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); -// KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
-// exit(0); -// exit(0);
-// } -// }
+ if (getenv("USER") != "root") + if (getenv("USER") != TQString("root"))
+ { + {
+ KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) ); + KMessageBox::error( 0, I18N_NOOP( "Kvpnc must be started as root!" ) );
+ exit(0); + exit(0);

@ -1,2 +1,2 @@
10_su-to-root_usage.diff # 10_su-to-root_usage.diff
13_add_kuser_issuperuser.diff 13_add_kuser_issuperuser.diff

@ -20,9 +20,38 @@ DEB_KDE_APIDOX := yes
version=Debian Package $(DEB_VERSION) version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(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" \ DEB_CMAKE_EXTRA_FLAGS := \
-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" \ -DLIB_SUFFIX="" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -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 # Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS. # never build in parallel, regardless of DEB_BUILD_OPTIONS.

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
export TDEDIRS=/usr/:/opt/trinity/ export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
/opt/trinity/bin/tdecmshell.real $1 $2 $3 $4 $5 $6 $7 $8 export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
${0}.real "$@"

Loading…
Cancel
Save