Your message dated Wed, 18 Oct 2006 15:52:41 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#392386: fixed in texmaker 1.4-1.1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: texmaker
Version: 1.4-1
Severity: serious
Tags: patch

When building 'texmaker' in a clean unstable/amd64 chroot,
I get the following error:

/usr/bin/uic-qt4 spellerdialog.ui -o .ui/ui_spellerdialog.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT  -DPREFIX="/usr" -DQT_NO_DEBUG 
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.moc -I.ui -o .obj/main.o main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:27: error: expected primary-expression before '/' token
main.cpp:27: error: 'usr' was not declared in this scope
main.cpp:27: error: expected ',' or ';' before string constant
make[1]: *** [.obj/main.o] Error 1
make[1]: Leaving directory `/texmaker-1.4'
make: *** [build-stamp] Error 2

Later in the build process I also get the following error:

g++  -o texmaker .obj/main.o .obj/texmaker.o .obj/symbollistwidget.o 
.obj/iconde legate.o .obj/latexeditor.o .obj/latexhighlighter.o 
.obj/latexeditorview.o .obj/linenumberwidget.o .obj/logeditor.o 
.obj/loghighlighter.o .obj/metapostlistwidget.o .obj/finddialog.o 
.obj/gotolinedialog.o .obj/replacedialog.o .obj/structdialog.o 
.obj/filechooser.o .obj/tabbingdialog.o .obj/arraydialog.o .obj/tabdialog.o 
.obj/letterdialog.o .obj/addoptiondialog.o .obj/quickdocumentdialog.o 
.obj/usermenudialog.o .obj/usertooldialog.o .obj/helpwidget.o .obj/refdialog.o 
.obj/configdialog.o .obj/pageconfig.o .obj/aboutdialog.o 
.obj/webpublishdialog.o .obj/x11fontdialog.o .obj/parenmatcher.o 
.obj/spellerdialog.o .obj/pstrickslistwidget.o .obj/moc_texmaker.o 
.obj/moc_symbollistwidget.o .obj/moc_icondelegate.o .obj/moc_latexeditor.o 
.obj/moc_latexhighlighter.o .obj/moc_latexeditorview.o 
.obj/moc_linenumberwidget.o .obj/moc_logeditor.o .obj/moc_loghighlighter.o 
.obj/moc_metapostlistwidget.o .obj/moc_finddialog.o .obj/moc_gotolinedialog.o 
.obj/moc_replacedialog.o .obj/moc_structdialog.o .obj/moc_filechooser.o 
.obj/moc_tabbingdialog.o .obj/moc_arraydialog.o .obj/moc_tabdialog.o 
.obj/moc_letterdialog.o .obj/moc_addoptiondialog.o 
.obj/moc_quickdocumentdialog.o .obj/moc_usermenudialog.o 
.obj/moc_usertooldialog.o .obj/moc_helpwidget.o .obj/moc_refdialog.o 
.obj/moc_configdialog.o .obj/moc_pageconfig.o .obj/moc_aboutdialog.o 
.obj/moc_webpublishdialog.o .obj/moc_x11fontdialog.o .obj/moc_parenmatcher.o 
.obj/moc_spellerdialog.o .obj/moc_pstrickslistwidget.o .obj/qrc_texmaker.o    
-L/usr/lib -lQtGui -L/qt4-x11-4.2.0/lib -L/usr/X11R6/lib -laudio -lXt -lpng 
-lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lXext 
-lX11 -lQtCore -lfontconfig -lz -lm -lglib-2.0 -ldl -lpthread
/usr/bin/ld: cannot find -lglib-2.0
collect2: ld returned 1 exit status
make[1]: *** [texmaker] Error 1
make[1]: Leaving directory `/texmaker-1.4'

With the attached patch 'texmaker' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/texmaker-1.4/debian/control ./debian/control
--- ../tmp-orig/texmaker-1.4/debian/control     2006-10-11 14:44:22.000000000 
+0000
+++ ./debian/control    2006-10-11 14:44:19.000000000 +0000
@@ -2,7 +2,7 @@
 Section: tex
 Priority: optional
 Maintainer: Joseph Smidt <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.0), libqt4-dev
+Build-Depends: debhelper (>= 5.0.0), libqt4-dev, libglib2.0-dev
 Standards-Version: 3.7.2
 
 Package: texmaker
diff -urN ../tmp-orig/texmaker-1.4/main.cpp ./main.cpp
--- ../tmp-orig/texmaker-1.4/main.cpp   2006-07-11 16:39:39.000000000 +0000
+++ ./main.cpp  2006-10-11 14:05:08.000000000 +0000
@@ -24,7 +24,7 @@
 splash->show();
 QTranslator appTranslator;
 #if defined( Q_WS_X11 )
-QString transdir=PREFIX"/share/texmaker";
+QString transdir="/usr/share/texmaker";
 #endif
 #if defined( Q_WS_MACX )
 QString transdir="/Applications/texmaker.app/Contents/Resources";
diff -urN ../tmp-orig/texmaker-1.4/texmaker.cpp ./texmaker.cpp
--- ../tmp-orig/texmaker-1.4/texmaker.cpp       2006-07-28 21:07:05.000000000 
+0000
+++ ./texmaker.cpp      2006-10-11 14:06:30.000000000 +0000
@@ -3909,7 +3909,7 @@
 void Texmaker::LatexHelp()
 {
 #if defined( Q_WS_X11 )
-QString docfile=PREFIX"/share/texmaker/latexhelp.html";
+QString docfile="/usr/share/texmaker/latexhelp.html";
 #endif
 #if defined( Q_WS_MACX )
 QString docfile="/Applications/texmaker.app/Contents/Resources/latexhelp.html";
@@ -3938,7 +3938,7 @@
 if (QLocale::system().name()=="fr_FR") locale="fr";
 else locale="en";
 #if defined( Q_WS_X11 )
-QString docfile=PREFIX"/share/texmaker/usermanual_"+locale+".html";
+QString docfile="/usr/share/texmaker/usermanual_"+locale+".html";
 #endif
 #if defined( Q_WS_MACX )
 QString 
docfile="/Applications/texmaker.app/Contents/Resources/usermanual_"+locale+".html";
diff -urN ../tmp-orig/texmaker-1.4/webpublishdialog.cpp ./webpublishdialog.cpp
--- ../tmp-orig/texmaker-1.4/webpublishdialog.cpp       2006-07-22 
12:53:02.000000000 +0000
+++ ./webpublishdialog.cpp      2006-10-11 14:22:17.000000000 +0000
@@ -1056,7 +1056,7 @@
 address=settings.value("/address","").toString();
 #ifdef Q_WS_X11
 browser=settings.value("/browser","firefox").toString();
-programdir=PREFIX"/share/texmaker";
+programdir="/usr/share/texmaker";
 #endif
 #ifdef Q_WS_MACX
 browser=settings.value("/browser","open").toString();


--- End Message ---
--- Begin Message ---
Source: texmaker
Source-Version: 1.4-1.1

We believe that the bug you reported is fixed in the latest version of
texmaker, which is due to be installed in the Debian FTP archive:

texmaker_1.4-1.1.diff.gz
  to pool/main/t/texmaker/texmaker_1.4-1.1.diff.gz
texmaker_1.4-1.1.dsc
  to pool/main/t/texmaker/texmaker_1.4-1.1.dsc
texmaker_1.4-1.1_amd64.deb
  to pool/main/t/texmaker/texmaker_1.4-1.1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Zoetekouw <[EMAIL PROTECTED]> (supplier of updated texmaker package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 18 Oct 2006 22:18:32 +0200
Source: texmaker
Binary: texmaker
Architecture: source amd64
Version: 1.4-1.1
Distribution: unstable
Urgency: medium
Maintainer: Bas Zoetekouw <[EMAIL PROTECTED]>
Changed-By: Bas Zoetekouw <[EMAIL PROTECTED]>
Description: 
 texmaker   - A Cross-Platform LaTeX Editor
Closes: 392386
Changes: 
 texmaker (1.4-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload
   * Fix correct quoting of -DPREFIX on the c++ command line
     (closes: #392386)
   * Added build-dep on libglib2.0-dev
Files: 
 9f6877869ff5a5857a1493caf788ffc8 587 tex optional texmaker_1.4-1.1.dsc
 138c7b872ab51e1d3bfbba334ea96c1e 5721 tex optional texmaker_1.4-1.1.diff.gz
 78496ea956874b2f1df9e6f56ed2517e 1418856 tex optional 
texmaker_1.4-1.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFNpEbK67kHwZE+rcRAi5kAJwKF6HanvZPgbHdkpi4mL6pFTFuFQCgpZc2
GzPFJ0+Wn/ehiRUTK/XRW8w=
=F0Ck
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to