From: "George V. Kouryachy" <george@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] IA: boost 1.51.0
Date: Thu, 25 Oct 2012 15:41:45 +0400
Message-ID: <20121025114145.GE31751@imap.altlinux.org> (raw)
In-Reply-To: <20120905080503.0135b097@deimos.localdomain>
[-- Attachment #1: Type: text/plain, Size: 559 bytes --]
On Wed, Sep 05, 2012 at 08:05:03AM +0400, Ivan A. Melnikov wrote:
> В Сизиф отправлен очередной свежий буст, на этот раз 1.51.0. Как обычно
> есть compat-пакет, и я прошу сообщество пересобирать свои пакеты с
> новой версией буста чтобы поскорее от этого compat-пакета избавиться.
Мои пять копеек. Изменение функциональности direntry.filename()
BTW, полезная ссылка по теме:
http://www.boost.org/doc/libs/1_51_0/libs/filesystem/doc/deprecated.html
--
George V. Kouryachy (aka Fr. Br. George)
Mailto/JID: george@altlinux.org
Mobile: (+7)9161738325
[-- Attachment #2: violetland-v0.4.3-boost1.51.patch --]
[-- Type: text/x-patch, Size: 1668 bytes --]
diff -ur violetland-v0.4.3/CMakeLists.txt violetland-v0.4.3.new/CMakeLists.txt
--- violetland-v0.4.3/CMakeLists.txt 2012-10-25 13:33:44.000000000 +0000
+++ violetland-v0.4.3.new/CMakeLists.txt 2012-10-25 10:04:16.835289639 +0000
@@ -8,7 +8,6 @@
find_package(SDL_mixer REQUIRED)
find_package(OpenGL REQUIRED)
find_package(Boost COMPONENTS filesystem system REQUIRED)
-add_definitions(-DBOOST_FILESYSTEM_VERSION=2)
if(${MINGW})
set(INTL_LIBRARY intl)
diff -ur violetland-v0.4.3/src/system/utility/FileUtility.cpp violetland-v0.4.3.new/src/system/utility/FileUtility.cpp
--- violetland-v0.4.3/src/system/utility/FileUtility.cpp 2012-10-25 13:33:44.000000000 +0000
+++ violetland-v0.4.3.new/src/system/utility/FileUtility.cpp 2012-10-25 10:40:04.986273041 +0000
@@ -20,7 +20,7 @@
while (dir_it != boost::filesystem::directory_iterator()) {
if (boost::filesystem::is_regular_file(*dir_it))
- files.push_back(dir_it->filename());
+ files.push_back(dir_it->path().filename().string());
++dir_it;
}
return files;
@@ -32,8 +32,8 @@
while (dir_it != boost::filesystem::directory_iterator()) {
if (boost::filesystem::is_directory(*dir_it))
- if (dir_it->path().filename()[0] != '.')
- subDirs.push_back(dir_it->path().filename());
+ if (dir_it->path().filename().string()[0] != '.')
+ subDirs.push_back(dir_it->path().filename().string());
++dir_it;
}
return subDirs;
@@ -45,7 +45,7 @@
while (dir_it != boost::filesystem::directory_iterator()) {
if (boost::filesystem::is_directory(*dir_it))
- if (dir_it->path().filename()[0] != '.')
+ if (dir_it->path().filename().string()[0] != '.')
++count;
++dir_it;
}
prev parent reply other threads:[~2012-10-25 11:41 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 4:05 Ivan A. Melnikov
2012-09-05 7:53 ` REAL
2012-09-05 10:16 ` Bergman Andrey
2012-09-05 10:26 ` REAL
2012-09-05 12:37 ` Ivan A. Melnikov
2012-09-06 5:41 ` Ivan A. Melnikov
2012-09-06 5:46 ` REAL
2012-09-06 12:46 ` REAL
2012-09-06 12:50 ` Ivan A. Melnikov
2012-09-06 12:55 ` REAL
2012-09-06 12:58 ` REAL
2012-09-06 13:21 ` Ivan A. Melnikov
2012-09-07 8:45 ` REAL
2012-09-06 15:28 ` Ivan A. Melnikov
2012-09-06 16:43 ` Dubrovskiy Viacheslav
2012-09-11 4:48 ` Ivan A. Melnikov
2012-09-12 5:30 ` Ivan A. Melnikov
2012-09-12 7:36 ` Ivan A. Melnikov
2012-09-12 5:33 ` REAL
2012-09-12 8:02 ` Motsyo Gennadi aka Drool
2012-09-12 10:17 ` [devel] libtorrent-rasterbar // was: " Ivan A. Melnikov
2012-09-12 10:23 ` REAL
2012-09-12 12:14 ` Ivan A. Melnikov
2012-09-13 4:03 ` [devel] libtorrent-rasterbar Dmitry V. Levin
2012-09-13 4:19 ` REAL
2012-09-13 5:06 ` Motsyo Gennadi aka Drool
2012-09-13 5:13 ` Ivan A. Melnikov
2012-09-13 6:56 ` Igor Vlasenko
2012-09-13 8:32 ` Ivan A. Melnikov
2012-09-13 9:01 ` Ivan A. Melnikov
2012-09-13 9:25 ` Igor Vlasenko
2012-09-13 19:55 ` Ivan A. Melnikov
2012-09-13 21:17 ` Igor Vlasenko
2012-09-12 10:25 ` [devel] libtorrent-rasterbar // was: Re: IA: boost 1.51.0 REAL
2012-10-25 11:41 ` George V. Kouryachy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121025114145.GE31751@imap.altlinux.org \
--to=george@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git