FreeBSD Bugzilla – Attachment 174396 Details for
Bug 212395
databases/sqlitebrowser: Update to 3.9.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Single options port
sqlitebrowser-3.9.0.diff (text/plain), 4.31 KB, created by
Loïc Bartoletti
on 2016-09-05 21:22:44 UTC
(
hide
)
Description:
Single options port
Filename:
MIME Type:
Creator:
Loïc Bartoletti
Created:
2016-09-05 21:22:44 UTC
Size:
4.31 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 421265) >+++ Makefile (working copy) >@@ -1,12 +1,12 @@ >-# Created by: loïc bartoletti <coder@tuxfamily.org> >+# Created by: loïc bartoletti <lbartoletti@tuxfamily.org> > # $FreeBSD$ > > PORTNAME= sqlitebrowser >-PORTVERSION= 3.8.0 >+PORTVERSION= 3.9.0 > DISTVERSIONPREFIX= v > CATEGORIES= databases > >-MAINTAINER= coder@tuxfamily.org >+MAINTAINER= lbartoletti@tuxfamily.org > COMMENT= DB Browser for SQLite is a visual tool to manage SQLite databases > > LICENSE= MPL GPLv3 >@@ -14,10 +14,20 @@ > > USE_GITHUB= yes > >+BUILD_DEPENDS= ${LOCALBASE}/include/antlr/AST.hpp:devel/antlr >+ > USES= cmake desktop-file-utils sqlite >-USE_QT4= corelib network gui qmake_build linguisttools_build \ >- moc_build uic_build rcc_build >+OPTIONS_SINGLE= GUI >+OPTIONS_SINGLE_GUI= QT4 QT5 >+OPTIONS_DEFAULT= QT5 > >+QT4_CMAKE_ON= -DUSE_QT5:BOOL=FALSE >+QT4_USE= QT4=corelib,network,gui,qmake_build,linguisttools_build >+QT4_USE+= QT4=moc_build,uic_build,rcc_build >+ >+QT5_CMAKE_ON= -DUSE_QT5:BOOL=TRUE >+QT5_USE= QT5=core,widgets,network,gui,qmake,buildtools,linguisttools,printsupport,testlib >+ > INSTALLS_ICONS= yes > > post-patch: >Index: distinfo >=================================================================== >--- distinfo (revision 421265) >+++ distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (sqlitebrowser-sqlitebrowser-v3.8.0_GH0.tar.gz) = f638a751bccde4bf0305a75685e2a72d26fc3e3a69d7e15fd84573f88c1a4d92 >-SIZE (sqlitebrowser-sqlitebrowser-v3.8.0_GH0.tar.gz) = 1538043 >+TIMESTAMP = 1472301221 >+SHA256 (sqlitebrowser-sqlitebrowser-v3.9.0_GH0.tar.gz) = 0ccbf05e9c5f544a542399332dd70ef365fab4ded6b838e29ba4fb1375872bf2 >+SIZE (sqlitebrowser-sqlitebrowser-v3.9.0_GH0.tar.gz) = 1701943 >Index: files/patch-CMakeLists.txt >=================================================================== >--- files/patch-CMakeLists.txt (nonexistent) >+++ files/patch-CMakeLists.txt (working copy) >@@ -0,0 +1,8 @@ >+--- CMakeLists.txt.orig 2016-08-27 16:48:17 UTC >++++ CMakeLists.txt >+@@ -1,4 +1,4 @@ >+-project("DB Browser for SQLite") >++project("sqlitebrowser") >+ cmake_minimum_required(VERSION 2.8.7) >+ >+ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}") > >Property changes on: files/patch-CMakeLists.txt >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src-Application.cpp >=================================================================== >--- files/patch-src-Application.cpp (revision 421265) >+++ files/patch-src-Application.cpp (working copy) >@@ -1,4 +1,4 @@ >---- src/Application.cpp.orig 2015-06-14 10:13:37 UTC >+--- src/Application.cpp.orig 2016-08-24 11:00:01 UTC > +++ src/Application.cpp > @@ -30,8 +30,15 @@ Application::Application(int& argc, char > >@@ -6,7 +6,7 @@ > m_translatorApp = new QTranslator(this); > + > +#ifdef Q_OS_FREEBSD >-+ QString trans_dir = "%%DATADIR%%/translations"; >++ QString trans_dir = "/usr/local/share/sqlitebrowser/translations"; > + ok = m_translatorApp->load("sqlb_" + name, > + trans_dir); > +#else >@@ -25,4 +25,4 @@ > + } > if (ok == true) > installTranslator(m_translatorQt); >- } >+ } else { >Index: files/patch-src-PreferencesDialog.cpp >=================================================================== >--- files/patch-src-PreferencesDialog.cpp (revision 421265) >+++ files/patch-src-PreferencesDialog.cpp (working copy) >@@ -1,6 +1,6 @@ >---- src/PreferencesDialog.cpp.orig 2015-04-27 09:31:47 UTC >+--- src/PreferencesDialog.cpp.orig 2016-08-24 11:00:01 UTC > +++ src/PreferencesDialog.cpp >-@@ -356,8 +356,15 @@ void PreferencesDialog::removeExtension( >+@@ -465,8 +465,15 @@ void PreferencesDialog::removeExtension( > > void PreferencesDialog::fillLanguageBox() > { >@@ -7,7 +7,7 @@ > - QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations", > + > +#ifdef Q_OS_FREEBSD >-+ QDir translationsDir("%%DATADIR%%/translations", >++ QDir translationsDir("/usr/local/share/sqlitebrowser/translations", > "sqlb_*.qm"); > +#else > + QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
lbartoletti
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 212395
:
174396
|
174397
|
175015
|
175018
|
175156