View | Details | Raw Unified | Return to bug 204300
Collapse All | Expand All

(-)databases/sqlitebrowser/Makefile (-8 / +2 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	sqlitebrowser
4
PORTNAME=	sqlitebrowser
5
PORTVERSION=	3.6.0
5
PORTVERSION=	3.7.0
6
PORTREVISION=	1
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	databases
7
CATEGORIES=	databases
8
8
9
MAINTAINER=	coder@tuxfamily.org
9
MAINTAINER=	coder@tuxfamily.org
Lines 13-20 Link Here
13
LICENSE_COMB=	dual
13
LICENSE_COMB=	dual
14
14
15
USE_GITHUB=	yes
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	sqlitebrowser
17
GH_TAGNAME=	e703344
18
16
19
USES=		cmake desktop-file-utils
17
USES=		cmake desktop-file-utils
20
USE_QT4=	corelib network gui qmake_build linguisttools_build \
18
USE_QT4=	corelib network gui qmake_build linguisttools_build \
Lines 30-37 Link Here
30
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
28
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
31
		${WRKSRC}/src/Application.cpp
29
		${WRKSRC}/src/Application.cpp
32
30
33
post-install:
34
	${MKDIR} ${STAGEDIR}${LOCALBASE}/share/${PORTNAME}/translations
35
	(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/share/${PORTNAME}/translations)
36
37
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)databases/sqlitebrowser/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sqlitebrowser-sqlitebrowser-3.6.0-e703344_GH0.tar.gz) = 3bc136d79ce18a15c2e4319236cefa28eff740f7e28762bde0d388c6b396d170
1
SHA256 (sqlitebrowser-sqlitebrowser-v3.7.0_GH0.tar.gz) = 3093a1dcf5b3138c1adf29857d62249ab2b068e70b001869a31151763e28cc3a
2
SIZE (sqlitebrowser-sqlitebrowser-3.6.0-e703344_GH0.tar.gz) = 1452710
2
SIZE (sqlitebrowser-sqlitebrowser-v3.7.0_GH0.tar.gz) = 1509766
(-)databases/sqlitebrowser/files/patch-src-Application.cpp (-5 / +5 lines)
Lines 1-4 Link Here
1
--- src/Application.cpp.orig	2015-04-27 09:31:47 UTC
1
--- src/Application.cpp.orig	2015-06-14 10:13:37 UTC
2
+++ src/Application.cpp
2
+++ src/Application.cpp
3
@@ -30,8 +30,15 @@ Application::Application(int& argc, char
3
@@ -30,8 +30,15 @@ Application::Application(int& argc, char
4
 
4
 
Lines 13-22 Link Here
13
     ok = m_translatorApp->load("sqlb_" + name,
13
     ok = m_translatorApp->load("sqlb_" + name,
14
                                QCoreApplication::applicationDirPath() + "/translations");
14
                                QCoreApplication::applicationDirPath() + "/translations");
15
+#endif
15
+#endif
16
 
16
     // If failed then try to load .qm file from resources
17
     if (ok == true) {
17
     if (ok == false) {
18
         PreferencesDialog::setSettingsValue("General", "language", name);
18
         ok = m_translatorApp->load("sqlb_" + name, ":/translations");
19
@@ -47,7 +54,9 @@ Application::Application(int& argc, char
19
@@ -51,7 +58,9 @@ Application::Application(int& argc, char
20
         ok = m_translatorQt->load("qt_" + name,
20
         ok = m_translatorQt->load("qt_" + name,
21
                                   QLibraryInfo::location(QLibraryInfo::TranslationsPath));
21
                                   QLibraryInfo::location(QLibraryInfo::TranslationsPath));
22
         if (ok == false)
22
         if (ok == false)
(-)databases/sqlitebrowser/pkg-plist (-4 lines)
Lines 2-8 Link Here
2
share/appdata/sqlitebrowser.desktop.appdata.xml
2
share/appdata/sqlitebrowser.desktop.appdata.xml
3
share/applications/sqlitebrowser.desktop
3
share/applications/sqlitebrowser.desktop
4
share/icons/hicolor/256x256/apps/sqlitebrowser.png
4
share/icons/hicolor/256x256/apps/sqlitebrowser.png
5
%%DATADIR%%/translations/sqlb_de.qm
6
%%DATADIR%%/translations/sqlb_fr.qm
7
%%DATADIR%%/translations/sqlb_ru.qm
8
%%DATADIR%%/translations/sqlb_zh.qm

Return to bug 204300