aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control54
-rw-r--r--debian/copyright36
-rw-r--r--debian/docs1
-rw-r--r--debian/libluminautils-dev.install2
-rw-r--r--debian/libluminautils1.install1
-rw-r--r--debian/lumina-config.install1
-rw-r--r--debian/lumina-core.install5
-rw-r--r--debian/lumina-fm.install3
-rw-r--r--debian/lumina-open.install1
-rw-r--r--debian/lumina-screenshot.install2
-rw-r--r--debian/patches/01-change-prefix.diff227
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules22
-rw-r--r--debian/source/format1
16 files changed, 363 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..f54fa6fe
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lumina-desktop (0.6.2.14-1nano) unstable; urgency=low
+
+ * Initial release
+
+ -- Christopher Roy Bratusek <nano@jpberlin.de> Sat, 06 Sep 2014 21:20:33 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..ec635144
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..b555c7c2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: lumina-desktop
+Section: x11
+Priority: optional
+Maintainer: Christopher Roy Bratusek <nano@jpberlin.de>
+Build-Depends: debhelper (>= 9), qt4-qmake, libqt4-dev, make, g++
+Standards-Version: 3.9.5
+Homepage: https://github.com/pcbsd/lumina
+
+Package: lumina-desktop
+Architecture: all
+Depends: libluminautils1, lumina-core, lumina-config, lumina-fm,
+ lumina-open, lumina-screenshot
+Description: Lightweight Qt4-based desktop environment
+ Metapackage depending on all other lumina packages.
+
+Package: libluminautils1
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Libraries for the lumina desktop environment
+
+Package: libluminautils-dev
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libluminautils1 (= ${binary:Version})
+Description: Development files for lumina desktop environment
+
+Package: libluminautils-dbg
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libluminautils-dev (= ${binary:Version})
+Description: Debugging symbols for lumina desktop environment
+
+Package: lumina-core
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libluminautils1 (= ${binary:Version})
+Description: Core package for the lumina desktop environment
+
+Package: lumina-config
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libluminautils1 (= ${binary:Version})
+Description: Configuration utility for the lumina desktop environment
+
+Package: lumina-fm
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libluminautils1 (= ${binary:Version})
+Description: Filemanager for the lumina desktop environment
+
+Package: lumina-open
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libluminautils1 (= ${binary:Version})
+Description: Utility to open given files with associated application
+
+Package: lumina-screenshot
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libluminautils1 (= ${binary:Version})
+Description: Screenshot utility for the lumina desktop environment
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000..d4c686c2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lumina-desktop
+Source: https://github.com/pcbsd/lumina
+
+Files: *
+Copyright: 2012-2014, Ken Moore (moorekou@gmail.com)
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2014 Christopher Roy Bratusek <nano@jpberlin.de>
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 00000000..b43bf86b
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libluminautils-dev.install b/debian/libluminautils-dev.install
new file mode 100644
index 00000000..b205e6c3
--- /dev/null
+++ b/debian/libluminautils-dev.install
@@ -0,0 +1,2 @@
+usr/lib/libLuminaUtils.so
+usr/include/*.h
diff --git a/debian/libluminautils1.install b/debian/libluminautils1.install
new file mode 100644
index 00000000..e6d42ae9
--- /dev/null
+++ b/debian/libluminautils1.install
@@ -0,0 +1 @@
+usr/lib/libLuminaUtils.so.*
diff --git a/debian/lumina-config.install b/debian/lumina-config.install
new file mode 100644
index 00000000..4ed57486
--- /dev/null
+++ b/debian/lumina-config.install
@@ -0,0 +1 @@
+usr/bin/lumina-config
diff --git a/debian/lumina-core.install b/debian/lumina-core.install
new file mode 100644
index 00000000..093cee7f
--- /dev/null
+++ b/debian/lumina-core.install
@@ -0,0 +1,5 @@
+usr/bin/Lumina-DE
+usr/share/pixmaps/Lumina-DE.png
+usr/share/Lumina-DE/
+usr/share/wallpapers/Lumina-DE/
+usr/share/xsessions/Lumina-DE.desktop
diff --git a/debian/lumina-fm.install b/debian/lumina-fm.install
new file mode 100644
index 00000000..b0e21dbd
--- /dev/null
+++ b/debian/lumina-fm.install
@@ -0,0 +1,3 @@
+usr/bin/lumina-fm
+usr/share/pixmaps/Insight-FileManager.png
+usr/share/applications/lumina-fm.desktop
diff --git a/debian/lumina-open.install b/debian/lumina-open.install
new file mode 100644
index 00000000..401cd57a
--- /dev/null
+++ b/debian/lumina-open.install
@@ -0,0 +1 @@
+usr/bin/lumina-open
diff --git a/debian/lumina-screenshot.install b/debian/lumina-screenshot.install
new file mode 100644
index 00000000..2b426b55
--- /dev/null
+++ b/debian/lumina-screenshot.install
@@ -0,0 +1,2 @@
+usr/bin/lumina-screenshot
+usr/share/applications/lumina-screenshot.desktop
diff --git a/debian/patches/01-change-prefix.diff b/debian/patches/01-change-prefix.diff
new file mode 100644
index 00000000..8a610ab0
--- /dev/null
+++ b/debian/patches/01-change-prefix.diff
@@ -0,0 +1,227 @@
+Description: Change the prefix from /usr/local to /usr
+ Change installation prefix to /usr
+ .
+ lumina-desktop (0.6.2.14-1nano) unstable; urgency=low
+ .
+ * Initial release
+Author: Christopher Roy Bratusek <nano@jpberlin.de>
+
+--- lumina-desktop-0.6.2.14.orig/libLumina/libLumina.pro
++++ lumina-desktop-0.6.2.14/libLumina/libLumina.pro
+@@ -2,7 +2,7 @@
+ QT += core
+
+ TARGET=LuminaUtils
+-target.path = /usr/local/lib
++target.path = /usr/lib
+
+ DESTDIR= $$_PRO_FILE_PWD_/
+
+@@ -21,11 +21,11 @@ SOURCES += LuminaXDG.cpp \
+ LuminaOS-FreeBSD.cpp \
+ LuminaOS-Linux.cpp
+
+-INCLUDEPATH += /usr/local/include
++INCLUDEPATH += /usr/include
+
+ LIBS += -lX11 -lXrender -lXcomposite
+
+-include.path=/usr/local/include/
++include.path=/usr/include/
+ include.files=LuminaXDG.h \
+ LuminaUtils.h \
+ LuminaX11.h \
+@@ -33,4 +33,4 @@ include.files=LuminaXDG.h \
+
+ INSTALLS += target include
+
+-QMAKE_LIBDIR = /usr/local/lib/qt4 /usr/local/lib
++QMAKE_LIBDIR = /usr/lib/qt4 /usr/lib
+--- lumina-desktop-0.6.2.14.orig/lumina-config/lumina-config.pro
++++ lumina-desktop-0.6.2.14/lumina-config/lumina-config.pro
+@@ -2,7 +2,7 @@
+ QT += core gui
+
+ TARGET = lumina-config
+-target.path = /usr/local/bin
++target.path = /usr/bin
+
+ TEMPLATE = app
+
+@@ -20,7 +20,7 @@ FORMS += mainUI.ui \
+
+ # RESOURCES+= lumina-config.qrc
+
+-INCLUDEPATH += ../libLumina /usr/local/include
++INCLUDEPATH += ../libLumina /usr/include
+
+ linux-g++-64 {
+ LIBS += -L../libLumina -lLuminaUtils
+@@ -93,7 +93,7 @@ TRANSLATIONS = i18n/lumina-config_af.ts
+ i18n/lumina-config_zh_TW.ts \
+ i18n/lumina-config_zu.ts
+
+-dotrans.path=/usr/local/share/Lumina-DE/i18n/
+-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
++dotrans.path=/usr/share/Lumina-DE/i18n/
++dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
+
+ INSTALLS += target dotrans
+--- lumina-desktop-0.6.2.14.orig/lumina-desktop/lumina-desktop.pro
++++ lumina-desktop-0.6.2.14/lumina-desktop/lumina-desktop.pro
+@@ -2,7 +2,7 @@
+ QT += core gui network phonon
+
+ TARGET = Lumina-DE
+-target.path = /usr/local/bin
++target.path = /usr/bin
+
+ LIBS += -L../libLumina -lLuminaUtils -lXdamage -lX11
+ QMAKE_LIBDIR = ../libLumina
+@@ -78,25 +78,25 @@ FORMS += SystemWindow.ui \
+
+ RESOURCES+= Lumina-DE.qrc
+
+-INCLUDEPATH += ../libLumina /usr/local/include
++INCLUDEPATH += ../libLumina /usr/include
+
+ desktop.files = Lumina-DE.desktop
+ linux-g++-64 {
+ desktop.path = /usr/share/xsessions
+ } else {
+-desktop.path = /usr/local/share/xsessions
++desktop.path = /usr/share/xsessions
+ }
+
+ icons.files = Lumina-DE.png \
+ Insight-FileManager.png
+
+-icons.path = /usr/local/share/pixmaps
++icons.path = /usr/share/pixmaps
+
+ wallpapers.files = wallpapers/Lumina_Wispy_gold_1920x1080.jpg \
+ wallpapers/Lumina_Wispy_green_1920x1080.jpg \
+ wallpapers/Lumina_Wispy_purple_1920x1080.jpg \
+ wallpapers/Lumina_Wispy_red_1920x1080.jpg
+-wallpapers.path = /usr/local/share/wallpapers/Lumina-DE
++wallpapers.path = /usr/share/wallpapers/Lumina-DE
+
+ defaults.files = defaults/desktop-background.jpg \
+ defaults/defaultapps.conf \
+@@ -104,7 +104,7 @@ defaults.files = defaults/desktop-backgr
+ defaults/stylesheet.qss \
+ audiofiles/Logout.ogg \
+ audiofiles/Login.ogg
+-defaults.path = /usr/local/share/Lumina-DE/
++defaults.path = /usr/share/Lumina-DE/
+
+ TRANSLATIONS = i18n/lumina-desktop_af.ts \
+ i18n/lumina-desktop_ar.ts \
+@@ -169,7 +169,7 @@ TRANSLATIONS = i18n/lumina-desktop_af.t
+ i18n/lumina-desktop_zh_TW.ts \
+ i18n/lumina-desktop_zu.ts
+
+-dotrans.path=/usr/local/share/Lumina-DE/i18n/
+-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
++dotrans.path=/usr/share/Lumina-DE/i18n/
++dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
+
+ INSTALLS += target desktop icons wallpapers defaults dotrans
+--- lumina-desktop-0.6.2.14.orig/lumina-fm/lumina-fm.pro
++++ lumina-desktop-0.6.2.14/lumina-fm/lumina-fm.pro
+@@ -2,7 +2,7 @@
+ QT += core gui phonon
+
+ TARGET = lumina-fm
+-target.path = /usr/local/bin
++target.path = /usr/bin
+
+ TEMPLATE = app
+
+@@ -22,7 +22,7 @@ FORMS += MainUI.ui \
+
+ # RESOURCES+= lumina-fm.qrc
+
+-INCLUDEPATH += ../libLumina /usr/local/include
++INCLUDEPATH += ../libLumina /usr/include
+
+ linux-g++-64 {
+ LIBS += -L../libLumina -lLuminaUtils
+@@ -95,10 +95,10 @@ TRANSLATIONS = i18n/lumina-fm_af.ts \
+ i18n/lumina-fm_zh_TW.ts \
+ i18n/lumina-fm_zu.ts
+
+-dotrans.path=/usr/local/share/Lumina-DE/i18n/
+-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
++dotrans.path=/usr/share/Lumina-DE/i18n/
++dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
+
+ desktop.files=lumina-fm.desktop
+-desktop.path=/usr/local/share/applications/
++desktop.path=/usr/share/applications/
+
+ INSTALLS += target dotrans desktop
+--- lumina-desktop-0.6.2.14.orig/lumina-open/lumina-open.pro
++++ lumina-desktop-0.6.2.14/lumina-open/lumina-open.pro
+@@ -2,7 +2,7 @@
+ QT += core gui
+
+ TARGET = lumina-open
+-target.path = /usr/local/bin
++target.path = /usr/bin
+
+ TEMPLATE = app
+
+@@ -15,7 +15,7 @@ FORMS += LFileDialog.ui
+
+ RESOURCES+= lumina-open.qrc
+
+-INCLUDEPATH += ../libLumina /usr/local/include
++INCLUDEPATH += ../libLumina /usr/include
+ LIBS += -L../libLumina -lLuminaUtils
+ QMAKE_LIBDIR = ../libLumina
+ DEPENDPATH += ../libLumina
+@@ -83,7 +83,7 @@ TRANSLATIONS = i18n/lumina-open_af.ts \
+ i18n/lumina-open_zh_TW.ts \
+ i18n/lumina-open_zu.ts
+
+-dotrans.path=/usr/local/share/Lumina-DE/i18n/
+-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
++dotrans.path=/usr/share/Lumina-DE/i18n/
++dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
+
+ INSTALLS += target dotrans
+--- lumina-desktop-0.6.2.14.orig/lumina-screenshot/lumina-screenshot.pro
++++ lumina-desktop-0.6.2.14/lumina-screenshot/lumina-screenshot.pro
+@@ -2,7 +2,7 @@
+ QT += core gui
+
+ TARGET = lumina-screenshot
+-target.path = /usr/local/bin
++target.path = /usr/bin
+
+ TEMPLATE = app
+
+@@ -13,7 +13,7 @@ HEADERS += MainUI.h
+
+ FORMS += MainUI.ui
+
+-INCLUDEPATH += ../libLumina /usr/local/include
++INCLUDEPATH += ../libLumina /usr/include
+
+ linux-g++-64 {
+ LIBS += -L../libLumina -lLuminaUtils
+@@ -86,10 +86,10 @@ TRANSLATIONS = i18n/lumina-screenshot_a
+ i18n/lumina-screenshot_zh_TW.ts \
+ i18n/lumina-screenshot_zu.ts
+
+-dotrans.path=/usr/local/share/Lumina-DE/i18n/
+-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
++dotrans.path=/usr/share/Lumina-DE/i18n/
++dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
+
+ desktop.files=lumina-screenshot.desktop
+-desktop.path=/usr/local/share/applications/
++desktop.path=/usr/share/applications/
+
+ INSTALLS += target dotrans desktop
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000..3e4f0969
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-change-prefix.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..8d0192e4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+DH_VERBOSE = 1
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ -$(MAKE) distclean
+ -find $(CURDIR) -name *.qm | xargs rm
+
+override_dh_strip:
+ dh_strip -a --dbg-package=libluminautils-dbg
+
+override_dh_auto_install:
+ INSTALL_ROOT=$(CURDIR)/debian/tmp/ $(MAKE) install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 00000000..163aaf8d
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
bgstack15