Import qtnotifydaemon-1.0.14 as wip/qtnotifydaemon.
Configurable and flexible Qt notification daemon. Features: * HTML Rich text support * Fading * Flexible configuration of appearance * Close by click * Appending messages * Support of svg+xml icons * Synchronous messages support
This commit is contained in:
parent
81b0eb4c4e
commit
0b79904c00
6 changed files with 282 additions and 0 deletions
9
qtnotifydaemon/DESCR
Normal file
9
qtnotifydaemon/DESCR
Normal file
|
@ -0,0 +1,9 @@
|
|||
Configurable and flexible Qt notification daemon. Features:
|
||||
|
||||
* HTML Rich text support
|
||||
* Fading
|
||||
* Flexible configuration of appearance
|
||||
* Close by click
|
||||
* Appending messages
|
||||
* Support of svg+xml icons
|
||||
* Synchronous messages support
|
34
qtnotifydaemon/Makefile
Normal file
34
qtnotifydaemon/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
# $NetBSD: Makefile,v 1.1 2012/09/27 20:15:17 othyro Exp $
|
||||
#
|
||||
|
||||
DISTNAME= qtnotifydaemon_1.0.14.orig
|
||||
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://sourceforge.net/projects/qtnotifydaemon/files/
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://drull.org.ru/qtnotifydaemon/
|
||||
COMMENT= Configurable and flexible Qt notification daemon
|
||||
LICENSE= gnu-gpl-v3
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
USE_LANGUAGES= c++
|
||||
MAKE_ENV+= SUBLIBS="-Wl,-rpath,${LIBDIR} -L${QTDIR}/lib"
|
||||
INSTALLATION_DIRS+= bin share/dbus-1/services
|
||||
|
||||
SUBST_CLASSES+= prefix
|
||||
SUBST_STAGE.prefix= post-patch
|
||||
SUBST_MESSAGE.prefix= Fixing PREFIX.
|
||||
SUBST_FILES.prefix= org.freedesktop.Notifications.service
|
||||
SUBST_SED.prefix= -e 's|/usr|${PREFIX}|'
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/qtnotifydaemon ${DESTDIR}${PREFIX}/bin/qtnotifydaemon
|
||||
${INSTALL_DATA} ${WRKSRC}/org.freedesktop.Notifications.service ${DESTDIR}${PREFIX}/share/dbus-1/services/org.freedesktop.Notifications.service
|
||||
|
||||
.include "../../x11/libX11/buildlink3.mk"
|
||||
.include "../../x11/qt4-qdbus/buildlink3.mk"
|
||||
.include "../../x11/qt4-tools/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
3
qtnotifydaemon/PLIST
Normal file
3
qtnotifydaemon/PLIST
Normal file
|
@ -0,0 +1,3 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2012/09/27 20:15:17 othyro Exp $
|
||||
bin/qtnotifydaemon
|
||||
share/dbus-1/services/org.freedesktop.Notifications.service
|
14
qtnotifydaemon/TODO
Normal file
14
qtnotifydaemon/TODO
Normal file
|
@ -0,0 +1,14 @@
|
|||
% qtnotifydaemon
|
||||
Shared object "libQtDBus.so.4" not found
|
||||
|
||||
% ldd /usr/pkg/bin/qtnotifydaemon
|
||||
/usr/pkg/bin/qtnotifydaemon:
|
||||
-lQtDBus.4 => not found
|
||||
-lQtGui.4 => not found
|
||||
-lQtCore.4 => not found
|
||||
-lpthread.1 => /usr/lib/libpthread.so.1
|
||||
-lgcc_s.1 => /usr/lib/libgcc_s.so.1
|
||||
-lc.12 => /usr/lib/libc.so.12
|
||||
-lstdc++.7 => /usr/lib/libstdc++.so.7
|
||||
-lm.0 => /usr/lib/libm.so.0
|
||||
-lX11.6 => not found
|
6
qtnotifydaemon/distinfo
Normal file
6
qtnotifydaemon/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2012/09/27 20:15:17 othyro Exp $
|
||||
|
||||
SHA1 (qtnotifydaemon_1.0.14.orig.tar.gz) = 3b5e66db9dd8ac70b61a1ff2cbe8028c955927ca
|
||||
RMD160 (qtnotifydaemon_1.0.14.orig.tar.gz) = 5699b88960d52158eaf63ae54b56cd8dedfedf4e
|
||||
Size (qtnotifydaemon_1.0.14.orig.tar.gz) = 1136779 bytes
|
||||
SHA1 (patch-Makefile) = 6c19f1c8aa76c95245ab0a74979d6ad9a747ae58
|
216
qtnotifydaemon/patches/patch-Makefile
Normal file
216
qtnotifydaemon/patches/patch-Makefile
Normal file
|
@ -0,0 +1,216 @@
|
|||
$NetBSD: patch-Makefile,v 1.1 2012/09/27 20:15:17 othyro Exp $
|
||||
|
||||
Fixes paths, LIBS, etc.
|
||||
|
||||
--- Makefile.orig 2011-08-16 10:41:02.000000000 +0000
|
||||
+++ Makefile
|
||||
@@ -13,13 +13,13 @@ CXX = g++
|
||||
DEFINES = -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -pipe -g -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||
CXXFLAGS = -pipe -g -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||
-INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I. -I.
|
||||
+INCPATH = -I$(QMAKESPEC) -I. -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui -I$(QTDIR)/include/QtDBus -I$(QTDIR)/include -I. -I.
|
||||
LINK = g++
|
||||
LFLAGS = -Wl,-O1
|
||||
-LIBS = $(SUBLIBS) -L/usr/lib -lQtDBus -lQtGui -lQtCore -lpthread
|
||||
+LIBS = $(SUBLIBS) -L$(PREFIX)/lib -lQtDBus -lQtGui -lQtCore -lpthread
|
||||
AR = ar cqs
|
||||
RANLIB =
|
||||
-QMAKE = /usr/bin/qmake
|
||||
+#QMAKE = ${QMAKE}
|
||||
TAR = tar -cf
|
||||
COMPRESS = gzip -9f
|
||||
COPY = cp -f
|
||||
@@ -62,28 +62,28 @@ OBJECTS = main.o \
|
||||
moc_qclicklabel.o \
|
||||
moc_notifyarea.o \
|
||||
qrc_images.o
|
||||
-DIST = /usr/share/qt4/mkspecs/common/g++.conf \
|
||||
- /usr/share/qt4/mkspecs/common/unix.conf \
|
||||
- /usr/share/qt4/mkspecs/common/linux.conf \
|
||||
- /usr/share/qt4/mkspecs/qconfig.pri \
|
||||
- /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
|
||||
- /usr/share/qt4/mkspecs/features/qt_functions.prf \
|
||||
- /usr/share/qt4/mkspecs/features/qt_config.prf \
|
||||
- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
||||
- /usr/share/qt4/mkspecs/features/default_pre.prf \
|
||||
- /usr/share/qt4/mkspecs/features/release.prf \
|
||||
- /usr/share/qt4/mkspecs/features/default_post.prf \
|
||||
- /usr/share/qt4/mkspecs/features/warn_on.prf \
|
||||
- /usr/share/qt4/mkspecs/features/qt.prf \
|
||||
- /usr/share/qt4/mkspecs/features/moc.prf \
|
||||
- /usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
|
||||
- /usr/share/qt4/mkspecs/features/dbusadaptors.prf \
|
||||
- /usr/share/qt4/mkspecs/features/unix/thread.prf \
|
||||
- /usr/share/qt4/mkspecs/features/resources.prf \
|
||||
- /usr/share/qt4/mkspecs/features/uic.prf \
|
||||
- /usr/share/qt4/mkspecs/features/yacc.prf \
|
||||
- /usr/share/qt4/mkspecs/features/lex.prf \
|
||||
- /usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
||||
+DIST = $(QTDIR)/mkspecs/common/g++.conf \
|
||||
+ $(QTDIR)/mkspecs/common/unix.conf \
|
||||
+ $(QTDIR)/mkspecs/common/linux.conf \
|
||||
+ $(QTDIR)/mkspecs/qconfig.pri \
|
||||
+ $(QTDIR)/mkspecs/modules/qt_webkit_version.pri \
|
||||
+ $(QTDIR)/mkspecs/features/qt_functions.prf \
|
||||
+ $(QTDIR)/mkspecs/features/qt_config.prf \
|
||||
+ $(QTDIR)/mkspecs/features/exclusive_builds.prf \
|
||||
+ $(QTDIR)/mkspecs/features/default_pre.prf \
|
||||
+ $(QTDIR)/mkspecs/features/release.prf \
|
||||
+ $(QTDIR)/mkspecs/features/default_post.prf \
|
||||
+ $(QTDIR)/mkspecs/features/warn_on.prf \
|
||||
+ $(QTDIR)/mkspecs/features/qt.prf \
|
||||
+ $(QTDIR)/mkspecs/features/moc.prf \
|
||||
+ $(QTDIR)/mkspecs/features/dbusinterfaces.prf \
|
||||
+ $(QTDIR)/mkspecs/features/dbusadaptors.prf \
|
||||
+ $(QTDIR)/mkspecs/features/unix/thread.prf \
|
||||
+ $(QTDIR)/mkspecs/features/resources.prf \
|
||||
+ $(QTDIR)/mkspecs/features/uic.prf \
|
||||
+ $(QTDIR)/mkspecs/features/yacc.prf \
|
||||
+ $(QTDIR)/mkspecs/features/lex.prf \
|
||||
+ $(QTDIR)/mkspecs/features/include_source_dir.prf \
|
||||
qtnotifydaemon.pro
|
||||
QMAKE_TARGET = qtnotifydaemon
|
||||
DESTDIR =
|
||||
@@ -116,59 +116,59 @@ all: Makefile $(TARGET)
|
||||
$(TARGET): $(OBJECTS)
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
|
||||
-Makefile: qtnotifydaemon.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
|
||||
- /usr/share/qt4/mkspecs/common/unix.conf \
|
||||
- /usr/share/qt4/mkspecs/common/linux.conf \
|
||||
- /usr/share/qt4/mkspecs/qconfig.pri \
|
||||
- /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
|
||||
- /usr/share/qt4/mkspecs/features/qt_functions.prf \
|
||||
- /usr/share/qt4/mkspecs/features/qt_config.prf \
|
||||
- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
||||
- /usr/share/qt4/mkspecs/features/default_pre.prf \
|
||||
- /usr/share/qt4/mkspecs/features/release.prf \
|
||||
- /usr/share/qt4/mkspecs/features/default_post.prf \
|
||||
- /usr/share/qt4/mkspecs/features/warn_on.prf \
|
||||
- /usr/share/qt4/mkspecs/features/qt.prf \
|
||||
- /usr/share/qt4/mkspecs/features/moc.prf \
|
||||
- /usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
|
||||
- /usr/share/qt4/mkspecs/features/dbusadaptors.prf \
|
||||
- /usr/share/qt4/mkspecs/features/unix/thread.prf \
|
||||
- /usr/share/qt4/mkspecs/features/resources.prf \
|
||||
- /usr/share/qt4/mkspecs/features/uic.prf \
|
||||
- /usr/share/qt4/mkspecs/features/yacc.prf \
|
||||
- /usr/share/qt4/mkspecs/features/lex.prf \
|
||||
- /usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
||||
- /usr/lib/libQtDBus.prl \
|
||||
- /usr/lib/libQtGui.prl \
|
||||
- /usr/lib/libQtCore.prl
|
||||
- $(QMAKE) -nocache QMAKE_CFLAGS_RELEASE=-g\ -O2 QMAKE_CFLAGS_DEBUG=-g\ -O2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2 QMAKE_STRIP=: PREFIX=/usr -o Makefile qtnotifydaemon.pro
|
||||
-/usr/share/qt4/mkspecs/common/g++.conf:
|
||||
-/usr/share/qt4/mkspecs/common/unix.conf:
|
||||
-/usr/share/qt4/mkspecs/common/linux.conf:
|
||||
-/usr/share/qt4/mkspecs/qconfig.pri:
|
||||
-/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
|
||||
-/usr/share/qt4/mkspecs/features/qt_functions.prf:
|
||||
-/usr/share/qt4/mkspecs/features/qt_config.prf:
|
||||
-/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
|
||||
-/usr/share/qt4/mkspecs/features/default_pre.prf:
|
||||
-/usr/share/qt4/mkspecs/features/release.prf:
|
||||
-/usr/share/qt4/mkspecs/features/default_post.prf:
|
||||
-/usr/share/qt4/mkspecs/features/warn_on.prf:
|
||||
-/usr/share/qt4/mkspecs/features/qt.prf:
|
||||
-/usr/share/qt4/mkspecs/features/moc.prf:
|
||||
-/usr/share/qt4/mkspecs/features/dbusinterfaces.prf:
|
||||
-/usr/share/qt4/mkspecs/features/dbusadaptors.prf:
|
||||
-/usr/share/qt4/mkspecs/features/unix/thread.prf:
|
||||
-/usr/share/qt4/mkspecs/features/resources.prf:
|
||||
-/usr/share/qt4/mkspecs/features/uic.prf:
|
||||
-/usr/share/qt4/mkspecs/features/yacc.prf:
|
||||
-/usr/share/qt4/mkspecs/features/lex.prf:
|
||||
-/usr/share/qt4/mkspecs/features/include_source_dir.prf:
|
||||
-/usr/lib/libQtDBus.prl:
|
||||
-/usr/lib/libQtGui.prl:
|
||||
-/usr/lib/libQtCore.prl:
|
||||
+Makefile: qtnotifydaemon.pro $(QMAKESPEC)/qmake.conf $(QTDIR)/mkspecs/common/g++.conf \
|
||||
+ $(QTDIR)/mkspecs/common/unix.conf \
|
||||
+ $(QTDIR)/mkspecs/common/linux.conf \
|
||||
+ $(QTDIR)/mkspecs/qconfig.pri \
|
||||
+ $(QTDIR)/mkspecs/modules/qt_webkit_version.pri \
|
||||
+ $(QTDIR)/mkspecs/features/qt_functions.prf \
|
||||
+ $(QTDIR)/mkspecs/features/qt_config.prf \
|
||||
+ $(QTDIR)/mkspecs/features/exclusive_builds.prf \
|
||||
+ $(QTDIR)/mkspecs/features/default_pre.prf \
|
||||
+ $(QTDIR)/mkspecs/features/release.prf \
|
||||
+ $(QTDIR)/mkspecs/features/default_post.prf \
|
||||
+ $(QTDIR)/mkspecs/features/warn_on.prf \
|
||||
+ $(QTDIR)/mkspecs/features/qt.prf \
|
||||
+ $(QTDIR)/mkspecs/features/moc.prf \
|
||||
+ $(QTDIR)/mkspecs/features/dbusinterfaces.prf \
|
||||
+ $(QTDIR)/mkspecs/features/dbusadaptors.prf \
|
||||
+ $(QTDIR)/mkspecs/features/unix/thread.prf \
|
||||
+ $(QTDIR)/mkspecs/features/resources.prf \
|
||||
+ $(QTDIR)/mkspecs/features/uic.prf \
|
||||
+ $(QTDIR)/mkspecs/features/yacc.prf \
|
||||
+ $(QTDIR)/mkspecs/features/lex.prf \
|
||||
+ $(QTDIR)/mkspecs/features/include_source_dir.prf \
|
||||
+ $(QTDIR)/lib/libQtDBus.prl \
|
||||
+ $(QTDIR)/lib/libQtGui.prl \
|
||||
+ $(QTDIR)/lib/libQtCore.prl
|
||||
+ $(QMAKE) -nocache QMAKE_CFLAGS_RELEASE=-g\ -O2 QMAKE_CFLAGS_DEBUG=-g\ -O2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2 QMAKE_STRIP=: PREFIX=$(PREFIX) -o Makefile qtnotifydaemon.pro
|
||||
+$(QTDIR)/mkspecs/common/g++.conf:
|
||||
+$(QTDIR)/mkspecs/common/unix.conf:
|
||||
+$(QTDIR)/mkspecs/common/linux.conf:
|
||||
+$(QTDIR)/mkspecs/qconfig.pri:
|
||||
+$(QTDIR)/mkspecs/modules/qt_webkit_version.pri:
|
||||
+$(QTDIR)/mkspecs/features/qt_functions.prf:
|
||||
+$(QTDIR)/mkspecs/features/qt_config.prf:
|
||||
+$(QTDIR)/mkspecs/features/exclusive_builds.prf:
|
||||
+$(QTDIR)/mkspecs/features/default_pre.prf:
|
||||
+$(QTDIR)/mkspecs/features/release.prf:
|
||||
+$(QTDIR)/mkspecs/features/default_post.prf:
|
||||
+$(QTDIR)/mkspecs/features/warn_on.prf:
|
||||
+$(QTDIR)/mkspecs/features/qt.prf:
|
||||
+$(QTDIR)/mkspecs/features/moc.prf:
|
||||
+$(QTDIR)/mkspecs/features/dbusinterfaces.prf:
|
||||
+$(QTDIR)/mkspecs/features/dbusadaptors.prf:
|
||||
+$(QTDIR)/mkspecs/features/unix/thread.prf:
|
||||
+$(QTDIR)/mkspecs/features/resources.prf:
|
||||
+$(QTDIR)/mkspecs/features/uic.prf:
|
||||
+$(QTDIR)/mkspecs/features/yacc.prf:
|
||||
+$(QTDIR)/mkspecs/features/lex.prf:
|
||||
+$(QTDIR)/mkspecs/features/include_source_dir.prf:
|
||||
+$(QTDIR)/lib/libQtDBus.prl:
|
||||
+$(QTDIR)/lib/libQtGui.prl:
|
||||
+$(QTDIR)/lib/libQtCore.prl:
|
||||
qmake: FORCE
|
||||
- @$(QMAKE) -nocache QMAKE_CFLAGS_RELEASE=-g\ -O2 QMAKE_CFLAGS_DEBUG=-g\ -O2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2 QMAKE_STRIP=: PREFIX=/usr -o Makefile qtnotifydaemon.pro
|
||||
+ @$(QMAKE) -nocache QMAKE_CFLAGS_RELEASE=-g\ -O2 QMAKE_CFLAGS_DEBUG=-g\ -O2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2 QMAKE_STRIP=: PREFIX=$(PREFIX) -o Makefile qtnotifydaemon.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) .tmp/qtnotifydaemon1.0.0 || $(MKDIR) .tmp/qtnotifydaemon1.0.0
|
||||
@@ -197,16 +197,16 @@ compiler_moc_header_make_all: moc_notify
|
||||
compiler_moc_header_clean:
|
||||
-$(DEL_FILE) moc_notifywidget.cpp moc_dbus.cpp moc_qclicklabel.cpp moc_notifyarea.cpp
|
||||
moc_notifywidget.cpp: notifywidget.h
|
||||
- /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) notifywidget.h -o moc_notifywidget.cpp
|
||||
+ $(MOC) $(DEFINES) $(INCPATH) notifywidget.h -o moc_notifywidget.cpp
|
||||
|
||||
moc_dbus.cpp: dbus.h
|
||||
- /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) dbus.h -o moc_dbus.cpp
|
||||
+ $(MOC) $(DEFINES) $(INCPATH) dbus.h -o moc_dbus.cpp
|
||||
|
||||
moc_qclicklabel.cpp: qclicklabel.h
|
||||
- /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) qclicklabel.h -o moc_qclicklabel.cpp
|
||||
+ $(MOC) $(DEFINES) $(INCPATH) qclicklabel.h -o moc_qclicklabel.cpp
|
||||
|
||||
moc_notifyarea.cpp: notifyarea.h
|
||||
- /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) notifyarea.h -o moc_notifyarea.cpp
|
||||
+ $(MOC) $(DEFINES) $(INCPATH) notifyarea.h -o moc_notifyarea.cpp
|
||||
|
||||
compiler_dbus_interface_source_make_all:
|
||||
compiler_dbus_interface_source_clean:
|
||||
@@ -358,7 +358,7 @@ qrc_images.cpp: images.qrc \
|
||||
images/notification-display-brightness-high.svg \
|
||||
images/notification-gsm-full.svg \
|
||||
images/notification-gpm-mouse-100.svg
|
||||
- /usr/bin/rcc -name images images.qrc -o qrc_images.cpp
|
||||
+ $(QTDIR)/bin/rcc -name images images.qrc -o qrc_images.cpp
|
||||
|
||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
||||
compiler_image_collection_clean:
|
Loading…
Reference in a new issue