diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..4a7cef1 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,13 @@ +/*.debhelper +/*.log +/*.substvars +/files + +/pcmanfm-qt/ +/pcmanfm-qt-dbg/ +/libfm-qt5-2/ +/libfm-qt5-dev/ +/libfm-qt5-dbg/ +/pcmanfm-qt5/ +/pcmanfm-qt5-dbg/ +/tmp \ No newline at end of file diff --git a/debian/control b/debian/control index 6aaed68..31eac99 100644 --- a/debian/control +++ b/debian/control @@ -1,11 +1,12 @@ Source: pcmanfm-qt Section: x11 Priority: optional -Maintainer: ChangZhuo Chen (陳昌倬) -Uploaders: Alf Gaida +Maintainer: LXQt Packaging Team +Uploaders: + Alf Gaida , + ChangZhuo Chen (陳昌倬) , Build-Depends: - automoc, - cmake (>= 2.8.11), + cmake (>= 3.0.2), debhelper (>= 9), libfm-dev (>= 1.2.0), libglib2.0-dev, @@ -17,8 +18,8 @@ Build-Depends: qttools5-dev-tools (>= 5.3.2), Standards-Version: 3.9.6 Homepage: https://github.com/lxde/pcmanfm-qt -Vcs-Git: git://github.com/lxde/pcmanfm-qt.git -Vcs-Browser: https://github.com/lxde/pcmanfm-qt +Vcs-Git: git://anonscm.debian.org/pkg-lxqt/pcmanfm-qt.git +Vcs-Browser: http://anonscm.debian.org/cgit/pkg-lxqt/pcmanfm-qt Package: pcmanfm-qt5 Architecture: any diff --git a/debian/copyright b/debian/copyright index 68b2961..24b7fa9 100644 --- a/debian/copyright +++ b/debian/copyright @@ -37,8 +37,8 @@ Copyright: 2014 Wen Liao License: GPL-2.0+ License: LGPL-2.1+ - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public + This program or library is free software; you can redistribute it + and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . @@ -47,8 +47,8 @@ License: LGPL-2.1+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . - On Debian system, the complete text of GNU Lesser General Public License can - be found in "/usr/share/common-licenses/LGPL-2.1". + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". License: GPL-2.0+ This package is free software; you can redistribute it and/or modify diff --git a/debian/libfm-qt5-dev.install b/debian/libfm-qt5-dev.install index 60fe5cb..317f416 100644 --- a/debian/libfm-qt5-dev.install +++ b/debian/libfm-qt5-dev.install @@ -1,3 +1,3 @@ -usr/include/* +usr/include/libfm-qt/*.h usr/lib/*/*.so usr/lib/*/pkgconfig/* diff --git a/debian/patches/pcmanfm-qt-desktop-pref.desktop.patch b/debian/patches/pcmanfm-qt-desktop-pref.desktop.in.patch similarity index 60% rename from debian/patches/pcmanfm-qt-desktop-pref.desktop.patch rename to debian/patches/pcmanfm-qt-desktop-pref.desktop.in.patch index c19942e..88e0ae1 100644 --- a/debian/patches/pcmanfm-qt-desktop-pref.desktop.patch +++ b/debian/patches/pcmanfm-qt-desktop-pref.desktop.in.patch @@ -1,13 +1,13 @@ Description: provide main category Author: Alf Gaida -Last-Update: 2014-10-19 +Last-Update: 2015-02-23 ---- pcmanfm-qt-0.8.0.orig/pcmanfm/pcmanfm-qt-desktop-pref.desktop.in -+++ pcmanfm-qt-0.8.0/pcmanfm/pcmanfm-qt-desktop-pref.desktop.in +--- pcmanfm-qt-0.9.0.orig/pcmanfm/pcmanfm-qt-desktop-pref.desktop.in ++++ pcmanfm-qt-0.9.0/pcmanfm/pcmanfm-qt-desktop-pref.desktop.in @@ -5,5 +5,5 @@ GenericName=Desktop Settings Comment=Change wallpapers and behavior of desktop manager Exec=pcmanfm-qt --desktop-pref=general Icon=user-desktop -Categories=Qt;DesktopSettings; -+Categories=Utility;Core;Qt;DesktopSettings; ++Categories=Settings;Qt;DesktopSettings; StartupNotify=true diff --git a/debian/patches/series b/debian/patches/series index 98ec734..f28463e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1 @@ -pcmanfm-qt-desktop-pref.desktop.patch +pcmanfm-qt-desktop-pref.desktop.in.patch diff --git a/debian/rules b/debian/rules index 4b24b47..4a52b86 100755 --- a/debian/rules +++ b/debian/rules @@ -15,8 +15,8 @@ override_dh_auto_configure: mkdir -p $(TS_BAK) dh_auto_configure -override_dh_auto_clean: - dh_auto_clean +override_dh_install: + dh_install --exclude=pcmanfm-qt.1 --fail-missing --list-missing override_dh_auto_install: dh_auto_install @@ -25,6 +25,11 @@ override_dh_auto_install: override_dh_install: dh_install --fail-missing --exclude=pcmanfm-qt.1 +override_dh_clean: + $(RM) -r debian/libfm-qt5-dbg + $(RM) -r debian/pcmanfm-qt-dbg + dh_clean + override_dh_strip: dh_strip -ppcmanfm-qt5 --dbg-package=pcmanfm-qt5-dbg dh_strip -plibfm-qt5-1 --dbg-package=libfm-qt5-dbg