added qtgui to build
This commit is contained in:
parent
b140ba1e63
commit
0fe642d60b
207
src/Makefile.am
207
src/Makefile.am
@ -262,10 +262,191 @@ recollindex_LDADD = librecoll.la
|
|||||||
recollq_SOURCES = query/recollqmain.cpp
|
recollq_SOURCES = query/recollqmain.cpp
|
||||||
recollq_LDADD = librecoll.la
|
recollq_LDADD = librecoll.la
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
qtgui/advsearch.ui \
|
||||||
|
qtgui/advsearch_w.cpp \
|
||||||
|
qtgui/advsearch_w.h \
|
||||||
|
qtgui/advshist.cpp \
|
||||||
|
qtgui/advshist.h \
|
||||||
|
qtgui/confgui/confgui.cpp \
|
||||||
|
qtgui/confgui/confgui.h \
|
||||||
|
qtgui/confgui/confguiindex.cpp \
|
||||||
|
qtgui/confgui/confguiindex.h \
|
||||||
|
qtgui/confgui/conflinkrcl.h \
|
||||||
|
qtgui/confgui/main.cpp \
|
||||||
|
qtgui/confgui/trconf.pro \
|
||||||
|
qtgui/crontool.cpp \
|
||||||
|
qtgui/crontool.h \
|
||||||
|
qtgui/crontool.ui \
|
||||||
|
qtgui/editdialog.h \
|
||||||
|
qtgui/editdialog.ui \
|
||||||
|
qtgui/firstidx.h \
|
||||||
|
qtgui/firstidx.ui \
|
||||||
|
qtgui/fragbuts.cpp \
|
||||||
|
qtgui/fragbuts.h \
|
||||||
|
qtgui/guiutils.cpp \
|
||||||
|
qtgui/guiutils.h \
|
||||||
|
qtgui/i18n/recoll_cs.qm \
|
||||||
|
qtgui/i18n/recoll_cs.ts \
|
||||||
|
qtgui/i18n/recoll_da.qm \
|
||||||
|
qtgui/i18n/recoll_da.ts \
|
||||||
|
qtgui/i18n/recoll_de.qm \
|
||||||
|
qtgui/i18n/recoll_de.ts \
|
||||||
|
qtgui/i18n/recoll_el.qm \
|
||||||
|
qtgui/i18n/recoll_el.ts \
|
||||||
|
qtgui/i18n/recoll_es.qm \
|
||||||
|
qtgui/i18n/recoll_es.ts \
|
||||||
|
qtgui/i18n/recoll_fr.qm \
|
||||||
|
qtgui/i18n/recoll_fr.ts \
|
||||||
|
qtgui/i18n/recoll_it.qm \
|
||||||
|
qtgui/i18n/recoll_it.ts \
|
||||||
|
qtgui/i18n/recoll_lt.qm \
|
||||||
|
qtgui/i18n/recoll_lt.ts \
|
||||||
|
qtgui/i18n/recoll_pl.qm \
|
||||||
|
qtgui/i18n/recoll_pl.ts \
|
||||||
|
qtgui/i18n/recoll_ru.qm \
|
||||||
|
qtgui/i18n/recoll_ru.ts \
|
||||||
|
qtgui/i18n/recoll_tr.qm \
|
||||||
|
qtgui/i18n/recoll_tr.ts \
|
||||||
|
qtgui/i18n/recoll_uk.qm \
|
||||||
|
qtgui/i18n/recoll_uk.ts \
|
||||||
|
qtgui/i18n/recoll_xx.qm \
|
||||||
|
qtgui/i18n/recoll_xx.ts \
|
||||||
|
qtgui/i18n/recoll_zh_CN.qm \
|
||||||
|
qtgui/i18n/recoll_zh_CN.ts \
|
||||||
|
qtgui/i18n/recoll_zh.qm \
|
||||||
|
qtgui/i18n/recoll_zh.ts \
|
||||||
|
qtgui/idxsched.h \
|
||||||
|
qtgui/idxsched.ui \
|
||||||
|
qtgui/images/asearch.png \
|
||||||
|
qtgui/images/cancel.png \
|
||||||
|
qtgui/images/close.png \
|
||||||
|
qtgui/images/code-block.png \
|
||||||
|
qtgui/images/down.png \
|
||||||
|
qtgui/images/firstpage.png \
|
||||||
|
qtgui/images/history.png \
|
||||||
|
qtgui/images/nextpage.png \
|
||||||
|
qtgui/images/prevpage.png \
|
||||||
|
qtgui/images/recoll.icns \
|
||||||
|
qtgui/images/recoll.png \
|
||||||
|
qtgui/images/sortparms.png \
|
||||||
|
qtgui/images/spell.png \
|
||||||
|
qtgui/images/table.png \
|
||||||
|
qtgui/images/up.png \
|
||||||
|
qtgui/listdialog.h \
|
||||||
|
qtgui/listdialog.ui \
|
||||||
|
qtgui/main.cpp \
|
||||||
|
qtgui/mtpics/aptosid-book.png \
|
||||||
|
qtgui/mtpics/aptosid-manual-copyright.txt \
|
||||||
|
qtgui/mtpics/aptosid-manual.png \
|
||||||
|
qtgui/mtpics/archive.png \
|
||||||
|
qtgui/mtpics/bookchap.png \
|
||||||
|
qtgui/mtpics/book.png \
|
||||||
|
qtgui/mtpics/document.png \
|
||||||
|
qtgui/mtpics/drawing.png \
|
||||||
|
qtgui/mtpics/emblem-symbolic-link.png \
|
||||||
|
qtgui/mtpics/folder.png \
|
||||||
|
qtgui/mtpics/html.png \
|
||||||
|
qtgui/mtpics/image.png \
|
||||||
|
qtgui/mtpics/License_sidux.txt \
|
||||||
|
qtgui/mtpics/message.png \
|
||||||
|
qtgui/mtpics/mozilla_doc.png \
|
||||||
|
qtgui/mtpics/pdf.png \
|
||||||
|
qtgui/mtpics/pidgin.png \
|
||||||
|
qtgui/mtpics/postscript.png \
|
||||||
|
qtgui/mtpics/presentation.png \
|
||||||
|
qtgui/mtpics/README \
|
||||||
|
qtgui/mtpics/sidux-book.png \
|
||||||
|
qtgui/mtpics/soffice.png \
|
||||||
|
qtgui/mtpics/source.png \
|
||||||
|
qtgui/mtpics/sownd.png \
|
||||||
|
qtgui/mtpics/spreadsheet.png \
|
||||||
|
qtgui/mtpics/text-x-python.png \
|
||||||
|
qtgui/mtpics/txt.png \
|
||||||
|
qtgui/mtpics/video.png \
|
||||||
|
qtgui/mtpics/wordprocessing.png \
|
||||||
|
qtgui/multisave.cpp \
|
||||||
|
qtgui/multisave.h \
|
||||||
|
qtgui/preview_w.cpp \
|
||||||
|
qtgui/preview_w.h \
|
||||||
|
qtgui/ptrans.ui \
|
||||||
|
qtgui/ptrans_w.cpp \
|
||||||
|
qtgui/ptrans_w.h \
|
||||||
|
qtgui/rclhelp.cpp \
|
||||||
|
qtgui/rclhelp.h \
|
||||||
|
qtgui/rclmain.ui \
|
||||||
|
qtgui/rclmain_w.cpp \
|
||||||
|
qtgui/rclmain_w.h \
|
||||||
|
qtgui/rclm_idx.cpp \
|
||||||
|
qtgui/rclm_preview.cpp \
|
||||||
|
qtgui/rclm_saveload.cpp \
|
||||||
|
qtgui/rclm_view.cpp \
|
||||||
|
qtgui/rclm_wins.cpp \
|
||||||
|
qtgui/rclzg.cpp \
|
||||||
|
qtgui/rclzg.h \
|
||||||
|
qtgui/recoll.h \
|
||||||
|
qtgui/recoll.pro.in \
|
||||||
|
qtgui/recoll.qrc \
|
||||||
|
qtgui/reslist.cpp \
|
||||||
|
qtgui/reslist.h \
|
||||||
|
qtgui/respopup.cpp \
|
||||||
|
qtgui/respopup.h \
|
||||||
|
qtgui/restable.cpp \
|
||||||
|
qtgui/restable.h \
|
||||||
|
qtgui/restable.ui \
|
||||||
|
qtgui/rtitool.cpp \
|
||||||
|
qtgui/rtitool.h \
|
||||||
|
qtgui/rtitool.ui \
|
||||||
|
qtgui/searchclause_w.cpp \
|
||||||
|
qtgui/searchclause_w.h \
|
||||||
|
qtgui/snippets.ui \
|
||||||
|
qtgui/snippets_w.cpp \
|
||||||
|
qtgui/snippets_w.h \
|
||||||
|
qtgui/spell.ui \
|
||||||
|
qtgui/spell_w.cpp \
|
||||||
|
qtgui/spell_w.h \
|
||||||
|
qtgui/ssearchb.ui \
|
||||||
|
qtgui/ssearch_w.cpp \
|
||||||
|
qtgui/ssearch_w.h \
|
||||||
|
qtgui/systray.cpp \
|
||||||
|
qtgui/systray.h \
|
||||||
|
qtgui/uiprefs.ui \
|
||||||
|
qtgui/uiprefs_w.cpp \
|
||||||
|
qtgui/uiprefs_w.h \
|
||||||
|
qtgui/ui_rclmain.h-4.5 \
|
||||||
|
qtgui/viewaction.ui \
|
||||||
|
qtgui/viewaction_w.cpp \
|
||||||
|
qtgui/viewaction_w.h \
|
||||||
|
qtgui/xmltosd.cpp \
|
||||||
|
qtgui/xmltosd.h \
|
||||||
|
\
|
||||||
|
python/README.txt \
|
||||||
|
python/recoll/Makefile \
|
||||||
|
python/recoll/pyrclextract.cpp \
|
||||||
|
python/recoll/pyrecoll.cpp \
|
||||||
|
python/recoll/pyrecoll.h \
|
||||||
|
python/recoll/recoll/__init__.py \
|
||||||
|
python/recoll/recoll/__init__.pyc \
|
||||||
|
python/recoll/recoll/rclconfig.py \
|
||||||
|
python/recoll/setup.py.in \
|
||||||
|
python/samples/docdups.py \
|
||||||
|
python/samples/mutt-recoll.py \
|
||||||
|
python/samples/rcldlkp.py \
|
||||||
|
python/samples/rclmbox.py \
|
||||||
|
python/samples/recollgui/Makefile \
|
||||||
|
python/samples/recollgui/qrecoll.py \
|
||||||
|
python/samples/recollgui/rclmain.ui \
|
||||||
|
python/samples/recollq.py \
|
||||||
|
python/samples/recollqsd.py \
|
||||||
|
python/samples/trconfig.py
|
||||||
|
|
||||||
|
|
||||||
if MAKEPYTHON
|
if MAKEPYTHON
|
||||||
all-local:
|
all-local: recollpython
|
||||||
|
recollpython: librecoll.la
|
||||||
${MAKE} -C python/recoll libdir=$(libdir)
|
${MAKE} -C python/recoll libdir=$(libdir)
|
||||||
install-exec-local:
|
install-exec-local: recollpython-install
|
||||||
|
recollpython-install:
|
||||||
(cd python/recoll; \
|
(cd python/recoll; \
|
||||||
if test -f /etc/debian_version ; then \
|
if test -f /etc/debian_version ; then \
|
||||||
OPTSFORPYTHON=--install-layout=deb; \
|
OPTSFORPYTHON=--install-layout=deb; \
|
||||||
@ -273,10 +454,24 @@ install-exec-local:
|
|||||||
set -x; \
|
set -x; \
|
||||||
python setup.py install \
|
python setup.py install \
|
||||||
--prefix=${prefix} --root=$${DESTDIR:-/} $${OPTSFORPYTHON})
|
--prefix=${prefix} --root=$${DESTDIR:-/} $${OPTSFORPYTHON})
|
||||||
clean-local:
|
clean-local: recollpython-clean
|
||||||
|
recollpython-clean:
|
||||||
rm -rf python/recoll/build
|
rm -rf python/recoll/build
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if MAKEQT
|
||||||
|
all-local: recollqt
|
||||||
|
recollqt: librecoll.la
|
||||||
|
(cd $(QTGUI); ${QMAKE} PREFIX=${prefix} recoll.pro)
|
||||||
|
$(MAKE) -C $(QTGUI) LFLAGS="$(LDFLAGS)"
|
||||||
|
clean-local: recollqt-clean
|
||||||
|
recollqt-clean:
|
||||||
|
-$(MAKE) -C $(QTGUI) clean
|
||||||
|
install-exec-local: recollqt-install
|
||||||
|
recollqt-install:
|
||||||
|
$(MAKE) -C $(QTGUI) INSTALL_ROOT=$(DESTDIR) PREFIX=$(prefix) install
|
||||||
|
endif
|
||||||
|
|
||||||
defconfdir = $(pkgdatadir)/examples
|
defconfdir = $(pkgdatadir)/examples
|
||||||
defconf_DATA = \
|
defconf_DATA = \
|
||||||
desktop/recollindex.desktop \
|
desktop/recollindex.desktop \
|
||||||
@ -292,7 +487,6 @@ sampleconf/mimeview
|
|||||||
filterdir = $(pkgdatadir)/filters
|
filterdir = $(pkgdatadir)/filters
|
||||||
filter_DATA = \
|
filter_DATA = \
|
||||||
desktop/hotrecoll.py \
|
desktop/hotrecoll.py \
|
||||||
index/rclmon.sh \
|
|
||||||
filters/rcl* \
|
filters/rcl* \
|
||||||
filters/ppt-dump.py \
|
filters/ppt-dump.py \
|
||||||
filters/xls-dump.py \
|
filters/xls-dump.py \
|
||||||
@ -302,8 +496,7 @@ python/recoll/recoll/rclconfig.py
|
|||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
(cd $(DESTDIR)/$(filterdir); \
|
(cd $(DESTDIR)/$(filterdir); \
|
||||||
chmod a+x rcl* ppt-dump.py xls-dump.py xlsxmltocsv.py hotrecoll.py \
|
chmod a+x rcl* ppt-dump.py xls-dump.py xlsxmltocsv.py hotrecoll.py; \
|
||||||
rclmon.sh; \
|
|
||||||
chmod 0644 msodump.zip rclexecm.py rcllatinstops.zip rclconfig.py)
|
chmod 0644 msodump.zip rclexecm.py rcllatinstops.zip rclconfig.py)
|
||||||
|
|
||||||
docdir = $(pkgdatadir)/doc
|
docdir = $(pkgdatadir)/doc
|
||||||
@ -311,5 +504,3 @@ doc_DATA = doc/user/usermanual.html doc/user/docbook-xsl.css
|
|||||||
|
|
||||||
dist_man1_MANS = doc/man/recoll.1 doc/man/recollq.1 doc/man/recollindex.1
|
dist_man1_MANS = doc/man/recoll.1 doc/man/recollq.1 doc/man/recollindex.1
|
||||||
dist_man5_MANS = doc/man/recoll.conf.5
|
dist_man5_MANS = doc/man/recoll.conf.5
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
1925
src/Makefile.in
1925
src/Makefile.in
File diff suppressed because it is too large
Load Diff
@ -33,6 +33,9 @@
|
|||||||
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
||||||
#undef HAVE_LIBPTHREAD
|
#undef HAVE_LIBPTHREAD
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `z' library (-lz). */
|
||||||
|
#undef HAVE_LIBZ
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
#undef HAVE_MEMORY_H
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
|||||||
@ -234,6 +234,7 @@ AM_CONDITIONAL(MAKEPYTHON, [test X$pythonEnabled = Xyes])
|
|||||||
AC_CHECK_FUNCS(mkdtemp)
|
AC_CHECK_FUNCS(mkdtemp)
|
||||||
AC_CHECK_LIB([pthread], [pthread_create], [], [])
|
AC_CHECK_LIB([pthread], [pthread_create], [], [])
|
||||||
AC_CHECK_LIB([dl], [dlopen], [], [])
|
AC_CHECK_LIB([dl], [dlopen], [], [])
|
||||||
|
AC_CHECK_LIB([z], [zlibVersion], [], [])
|
||||||
|
|
||||||
##### Look for iconv. This can exist in either libc (ie: Linux, solaris) or
|
##### Look for iconv. This can exist in either libc (ie: Linux, solaris) or
|
||||||
##### libiconv. We'd need a --with-libiconv= option
|
##### libiconv. We'd need a --with-libiconv= option
|
||||||
@ -338,8 +339,6 @@ for i in $LIBXAPIAN ; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
LIBXAPIAN=$tmpxaplib
|
LIBXAPIAN=$tmpxaplib
|
||||||
# Also recent xapian libs need lz even when they think they don't...
|
|
||||||
LIBXAPIAN="$LIBXAPIAN -lz"
|
|
||||||
LIBXAPIANDIR=`$XAPIAN_CONFIG --libs | awk '{print $1}'`
|
LIBXAPIANDIR=`$XAPIAN_CONFIG --libs | awk '{print $1}'`
|
||||||
case A"$LIBXAPIANDIR" in
|
case A"$LIBXAPIANDIR" in
|
||||||
A-L*) LIBXAPIANDIR=`echo $LIBXAPIANDIR | sed -e 's/-L//'`;;
|
A-L*) LIBXAPIANDIR=`echo $LIBXAPIANDIR | sed -e 's/-L//'`;;
|
||||||
@ -412,15 +411,13 @@ if test X$enableQT = Xyes ; then
|
|||||||
QMAKE="${QMAKE} -spec macx-g++"
|
QMAKE="${QMAKE} -spec macx-g++"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Discriminate qt3/4. Qt3 qmake prints its version on stderr but we don't
|
# Check Qt version
|
||||||
# depend on this. We try to detect the qt 4 version string instead.
|
|
||||||
qmakevers="`${QMAKE} --version 2>&1`"
|
qmakevers="`${QMAKE} --version 2>&1`"
|
||||||
#echo "qmake version: $qmakevers"
|
#echo "qmake version: $qmakevers"
|
||||||
v4=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*4.*'`
|
v4=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*4.*'`
|
||||||
v5=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*5.*'`
|
v5=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*5.*'`
|
||||||
if test X$v4 = X0 -a X$v5 = X0; then
|
if test X$v4 = X0 -a X$v5 = X0; then
|
||||||
AC_MSG_ERROR([qmake seems to be using Qt version 3 which is not supported any more])
|
AC_MSG_ERROR([qmake seems to be using Qt version 3 which is not supported any more])
|
||||||
QTGUI=qtgui
|
|
||||||
else
|
else
|
||||||
if test X$v4 != X0 ; then
|
if test X$v4 != X0 ; then
|
||||||
AC_MSG_NOTICE([using qt version 4 user interface])
|
AC_MSG_NOTICE([using qt version 4 user interface])
|
||||||
@ -436,7 +433,7 @@ if test X$enableQT = Xyes ; then
|
|||||||
test -f recoll.pro && chmod +w recoll.pro
|
test -f recoll.pro && chmod +w recoll.pro
|
||||||
cp recoll.pro.in recoll.pro
|
cp recoll.pro.in recoll.pro
|
||||||
#echo QMAKE ${QMAKE}
|
#echo QMAKE ${QMAKE}
|
||||||
${QMAKE} recoll.pro
|
${QMAKE} PREFIX=${prefix} recoll.pro
|
||||||
if test $? != 0 ; then
|
if test $? != 0 ; then
|
||||||
AC_MSG_ERROR([Cannot use qmake to generate a Makefile. Maybe you need to
|
AC_MSG_ERROR([Cannot use qmake to generate a Makefile. Maybe you need to
|
||||||
check the QTDIR and QMAKESPEC environment variables?])
|
check the QTDIR and QMAKESPEC environment variables?])
|
||||||
@ -449,6 +446,7 @@ if test X$enableQT = Xyes ; then
|
|||||||
installation. If there is no default mkspecs, you should also set QMAKESPEC])
|
installation. If there is no default mkspecs, you should also set QMAKESPEC])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
rm -f Makefile recoll.pro
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
LANGUAGE = C++
|
LANGUAGE = C++
|
||||||
|
|
||||||
@QMAKE_ENABLE_WEBKIT@QT += webkit
|
@QMAKE_ENABLE_WEBKIT@ QT += webkit
|
||||||
@QMAKE_DISABLE_WEBKIT@QMAKE_CXXFLAGS += -DRESLIST_TEXTBROWSER -DSNIPPETS_TEXTBROWSER
|
@QMAKE_DISABLE_WEBKIT@ QMAKE_CXXFLAGS += -DRESLIST_TEXTBROWSER -DSNIPPETS_TEXTBROWSER
|
||||||
|
|
||||||
@QMAKE_ENABLE_ZEITGEIST@QT += dbus
|
@QMAKE_ENABLE_ZEITGEIST@ QT += dbus
|
||||||
@QMAKE_ENABLE_ZEITGEIST@QMAKE_CXXFLAGS += -DUSE_ZEITGEIST
|
@QMAKE_ENABLE_ZEITGEIST@ QMAKE_CXXFLAGS += -DUSE_ZEITGEIST
|
||||||
|
|
||||||
QT += xml
|
QT += xml
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets webkitwidgets printsupport
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets webkitwidgets printsupport
|
||||||
@ -94,12 +94,12 @@ unix {
|
|||||||
UI_DIR = .ui
|
UI_DIR = .ui
|
||||||
MOC_DIR = .moc
|
MOC_DIR = .moc
|
||||||
OBJECTS_DIR = .obj
|
OBJECTS_DIR = .obj
|
||||||
# Note: libdir may be substituted with sthing like $(exec_prefix)/lib
|
LIBS += -L../.libs -lrecoll
|
||||||
# at this point and will go as such in the Makefile. Expansion will be
|
|
||||||
# completed at make time.
|
|
||||||
LIBS += $(BSTATIC) -L../lib -lrecoll
|
|
||||||
|
|
||||||
!macx {
|
!macx {
|
||||||
|
# Note: libdir may be substituted with sthing like $(exec_prefix)/lib
|
||||||
|
# at this point and will go as such in the Makefile. Expansion will be
|
||||||
|
# completed at make time.
|
||||||
LIBS += -Wl,-rpath=@libdir@/recoll
|
LIBS += -Wl,-rpath=@libdir@/recoll
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -110,7 +110,6 @@ unix {
|
|||||||
../utils ../aspell ../rcldb ../qtgui \
|
../utils ../aspell ../rcldb ../qtgui \
|
||||||
confgui
|
confgui
|
||||||
DEPENDPATH += $$INCLUDEPATH
|
DEPENDPATH += $$INCLUDEPATH
|
||||||
POST_TARGETDEPS = ../lib/librecoll.a
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UNAME = $$system(uname -s)
|
UNAME = $$system(uname -s)
|
||||||
@ -141,3 +140,33 @@ TRANSLATIONS = \
|
|||||||
i18n/recoll_xx.ts \
|
i18n/recoll_xx.ts \
|
||||||
i18n/recoll_zh_CN.ts \
|
i18n/recoll_zh_CN.ts \
|
||||||
i18n/recoll_zh.ts \
|
i18n/recoll_zh.ts \
|
||||||
|
|
||||||
|
unix {
|
||||||
|
isEmpty(PREFIX) {
|
||||||
|
PREFIX = /usr/local
|
||||||
|
}
|
||||||
|
message("Prefix is $$PREFIX")
|
||||||
|
DEFINES += PREFIX=\\\"$$PREFIX\\\"
|
||||||
|
|
||||||
|
# Installation stuff
|
||||||
|
target.path = "$$PREFIX/bin"
|
||||||
|
|
||||||
|
imdata.files = mtpics/*.png
|
||||||
|
imdata.path = $$PREFIX/share/recoll/images
|
||||||
|
trdata.files = i18n/*.qm
|
||||||
|
trdata.path = $$PREFIX/share/recoll/translations
|
||||||
|
desktop.files += ../desktop/recoll-searchgui.desktop
|
||||||
|
desktop.path = $$PREFIX/share/applications/
|
||||||
|
icona.files += ../desktop/recoll.png
|
||||||
|
icona.path = $$PREFIX/share/icons/hicolor/48x48/apps/
|
||||||
|
iconb.files += ../desktop/recoll.png
|
||||||
|
iconb.path = $$PREFIX/share/pixmaps/
|
||||||
|
appdata.files = ../desktop/recoll.appdata.xml
|
||||||
|
appdata.path = $$PREFIX/share/appdata/
|
||||||
|
INSTALLS += target imdata trdata desktop icona iconb appdata
|
||||||
|
|
||||||
|
# The recollinstall script used to do the following to install zh_CN as
|
||||||
|
# zh. Is this still needed?
|
||||||
|
#${INSTALL} -m 0444 ${I18N}/recoll_zh_CN.qm \
|
||||||
|
# ${datadir}/recoll/translations/recoll_zh.qm || exit 1
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user