[PC-BSD Commits] r2794 - pbibuild/pbi-source/PBIsource

svn at pcbsd.org svn at pcbsd.org
Thu Sep 18 14:32:04 PDT 2008


Author: kris
Date: 2008-09-18 14:32:03 -0700 (Thu, 18 Sep 2008)
New Revision: 2794

Modified:
   pbibuild/pbi-source/PBIsource/PBI.pro
   pbibuild/pbi-source/PBIsource/pbi.cpp
Log:

Fixed building PBIsource on 7, and fixed a bug creating mime entries



Modified: pbibuild/pbi-source/PBIsource/PBI.pro
===================================================================
--- pbibuild/pbi-source/PBIsource/PBI.pro	2008-09-18 20:09:26 UTC (rev 2793)
+++ pbibuild/pbi-source/PBIsource/PBI.pro	2008-09-18 21:32:03 UTC (rev 2794)
@@ -24,3 +24,5 @@
 }
 
 QT += qt3support
+
+QMAKE_LIBDIR = /usr/local/kde4/lib /usr/local/lib/qt4 /usr/local/lib

Modified: pbibuild/pbi-source/PBIsource/pbi.cpp
===================================================================
--- pbibuild/pbi-source/PBIsource/pbi.cpp	2008-09-18 20:09:26 UTC (rev 2793)
+++ pbibuild/pbi-source/PBIsource/pbi.cpp	2008-09-18 21:32:03 UTC (rev 2794)
@@ -1329,7 +1329,8 @@
         MimeProc = new QProcess(this);
         QString program = "bash";
         QStringList arguments;
-        arguments << Location + "/addpbimime.sh" << MimeName << MimeExt[MimeNum] << ProgEXE << Icon << Terminal ;
+        //arguments << Location + "/addpbimime.sh" << MimeName << MimeExt[MimeNum] << ProgEXE << Icon << Terminal ;
+        arguments << "./addpbimime.sh" << MimeName << MimeExt[MimeNum] << ProgEXE << Icon << Terminal ;
         connect( MimeProc, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(slotMimeProcFinished(int, QProcess::ExitStatus) ) );
         MimeProc->start(program, arguments);
         //QMessageBox::information( this, ProgramName,  arguments.join(",") );



More information about the Commits mailing list