1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

Update to 0.8.2.

PR:		192865
Submitted by:	maintainer
This commit is contained in:
Adam Weinberger 2014-08-23 19:57:35 +00:00
parent f42e3f2f7e
commit 06f1cdf333
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365798
3 changed files with 8 additions and 34 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= converseen
PORTVERSION= 0.8.1
PORTVERSION= 0.8.2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/Converseen/Converseen%200.8/

View File

@ -1,2 +1,2 @@
SHA256 (converseen-0.8.1.tar.bz2) = 5c7ad34ed65c02654aecfa861aa1cad395f1676e7deffc58f4df4419ae4e4f5c
SIZE (converseen-0.8.1.tar.bz2) = 243460
SHA256 (converseen-0.8.2.tar.bz2) = 14be03e3b3ed850bc65f6400060a5c737dedaa69ed4c5fc691435288c4e1e2b5
SIZE (converseen-0.8.2.tar.bz2) = 243451

View File

@ -1,37 +1,11 @@
--- src/formats.cpp.orig 2014-07-08 21:01:12.000000000 +0200
+++ src/formats.cpp 2014-07-08 21:01:34.000000000 +0200
@@ -36,7 +36,6 @@
--- src/formats.cpp.orig 2014-08-20 19:25:29.000000000 +0200
+++ src/formats.cpp 2014-08-20 19:26:13.000000000 +0200
@@ -36,7 +36,7 @@
void Formats::loadFormats()
{
-#ifdef Q_OS_LINUX
-#ifdef Q_OS_LINUX || Q_OS_FREEBSD
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
list<CoderInfo> coderList;
coderInfoList(&coderList,
CoderInfo::TrueMatch,
@@ -91,26 +90,6 @@
s_readableFiltersString = readableFiltersList.join("");
s_readableFiltersString.prepend(tr("All Supported Filters (%1)").arg(readableExts));
-#else
- QFile data1(QDir::cleanPath("FileFormats/Readableformats.txt"));
- if (data1.open(QFile::ReadOnly)) {
- QTextStream in(&data1);
-
- s_readableFilters = in.readLine().split(" ");
- s_readableFiltersString = in.readLine();
- }
-
- QFile data2(QDir::cleanPath("FileFormats/WritableFormats.txt"));
- if (data2.open(QFile::ReadOnly)) {
- QTextStream in(&data2);
- QString line;
- do {
- line = in.readLine();
- s_writableFilters << line;
- } while (!line.isNull());
- }
- s_writableFilters.removeLast();
-#endif
s_writableFilters.prepend(tr("Don't change the format"));
}