View | Details | Raw Unified | Return to bug 199795 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	sqlitebrowser
4
PORTNAME=	sqlitebrowser
5
PORTVERSION=	3.5.1
5
PORTVERSION=	3.6.0
6
CATEGORIES=	databases
6
CATEGORIES=	databases
7
7
8
MAINTAINER=	coder@tuxfamily.org
8
MAINTAINER=	coder@tuxfamily.org
Lines 11-19 Link Here
11
LICENSE=	MPL GPLv3
11
LICENSE=	MPL GPLv3
12
LICENSE_COMB=	dual
12
LICENSE_COMB=	dual
13
13
14
WRKSRC=		${WRKDIR}/${PORTNAME}-${GH_TAGNAME}
15
14
USE_GITHUB=	yes
16
USE_GITHUB=	yes
15
GH_ACCOUNT=	sqlitebrowser
17
GH_ACCOUNT=	sqlitebrowser
16
GH_TAGNAME=	1d12977
18
GH_TAGNAME=	e703344
17
19
18
USES=		cmake desktop-file-utils
20
USES=		cmake desktop-file-utils
19
USE_QT4=	gui qmake_build linguist_build moc_build uic_build rcc_build
21
USE_QT4=	gui qmake_build linguist_build moc_build uic_build rcc_build
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sqlitebrowser-sqlitebrowser-3.5.1-1d12977_GH0.tar.gz) = ba417db4e6fbf9f05d11ad77f83081b05b30591a4b0a8796d64b03836869bf35
1
SHA256 (sqlitebrowser-sqlitebrowser-3.6.0-e703344_GH0.tar.gz) = 3bc136d79ce18a15c2e4319236cefa28eff740f7e28762bde0d388c6b396d170
2
SIZE (sqlitebrowser-sqlitebrowser-3.5.1-1d12977_GH0.tar.gz) = 874558
2
SIZE (sqlitebrowser-sqlitebrowser-3.6.0-e703344_GH0.tar.gz) = 1452710
(-)files/patch-src-PreferencesDialog.cpp (-10 / +12 lines)
Lines 1-17 Link Here
1
--- src/PreferencesDialog.cpp.orig	2015-02-01 15:27:53.407669984 +0100
1
--- src/PreferencesDialog.cpp.orig	2015-05-09 08:19:49.920343024 +0200
2
+++ src/PreferencesDialog.cpp	2015-02-01 15:30:51.885904399 +0100
2
+++ src/PreferencesDialog.cpp	2015-05-09 08:20:57.913337598 +0200
3
@@ -266,9 +266,13 @@
3
@@ -356,8 +356,15 @@
4
 
4
 void PreferencesDialog::fillLanguageBox()
5
 void PreferencesDialog::fillLanguageBox()
5
 {
6
 {
6
     // Use the path relative to the main executable
7
-    QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
8
+
7
+#ifdef Q_OS_FREEBSD
9
+#ifdef Q_OS_FREEBSD
8
+    QDir translationsDir("%%DATADIR%%/translations",
10
+    QDir translationsDir("%%DATADIR%%/translations",
9
+                         "sqlb_*.qm");
11
                          "sqlb_*.qm");
10
+#else
12
+#else
11
     QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
13
+     QDir translationsDir(QCoreApplication::applicationDirPath() + "/translations",
12
                          "sqlb_*.qm");
14
+                          "sqlb_*.qm");
13
-
15
+
14
+#endif
16
+#endif
15
     // Add default language
16
     ui->languageComboBox->addItem("English (United States)", "en_US");
17
 
17
 
18
     QLocale systemLocale = QLocale::system();
19
 
(-)pkg-plist (+1 lines)
Lines 1-4 Link Here
1
%%QT_BINDIR%%/sqlitebrowser
1
%%QT_BINDIR%%/sqlitebrowser
2
share/appdata/sqlitebrowser.desktop.appdata.xml
2
share/applications/sqlitebrowser.desktop
3
share/applications/sqlitebrowser.desktop
3
share/icons/hicolor/256x256/apps/sqlitebrowser.png
4
share/icons/hicolor/256x256/apps/sqlitebrowser.png
4
%%DATADIR%%/translations/sqlb_de.qm
5
%%DATADIR%%/translations/sqlb_de.qm

Return to bug 199795