Activity for Marshall

  • Marshall Marshall posted a comment on ticket #354

    Is it better to use the MSCV code for MinGW? Or does it really make no difference? The primary use case for the static library is to build and link everything to a single exe binary using the same MinGW compiler/toolchain, so the chance that a different pthread library is used should be low. 08.11.2023 16:28:51 Leon Bottou leonb@users.sourceforge.net: warning "This only works with MSVC. Memory leak otherwise" Now I remember this horror. The handling of thread local storage under windows is a catastrophe....

  • Marshall Marshall modified a comment on ticket #354

    Just to make sure, do you confirm that adding DJVUAPI on Monitor and GSafeFlags is enough to make --export-all-symbols useless when compiling libdjvu as a dll? This was at least the case during my tests, yes. But I will do some more tests. Update: this isn't needed anymore it seems. pthreads: What is the benefit of using MINGW's pthread emulation on Windows? Same thing again: it can make sense to give priority to pthread if detected, but will this work on all platforms? I've tested enabling pthreads...

  • Marshall Marshall modified a comment on ticket #354

    Just to make sure, do you confirm that adding DJVUAPI on Monitor and GSafeFlags is enough to make --export-all-symbols useless when compiling libdjvu as a dll? This was at least the case during my tests, yes. But I will do some more tests. Update: this isn't needed anymore it seems. pthreads: What is the benefit of using MINGW's pthread emulation on Windows? Same thing again: it can make sense to give priority to pthread if detected, but will this work on all platforms? I've tested enabling pthreads...

  • Marshall Marshall posted a comment on ticket #354

    Just to make sure, do you confirm that adding DJVUAPI on Monitor and GSafeFlags is enough to make --export-all-symbols useless when compiling libdjvu as a dll? This was at least the case during my tests, yes. But I will do some more tests. pthreads: What is the benefit of using MINGW's pthread emulation on Windows? Same thing again: it can make sense to give priority to pthread if detected, but will this work on all platforms? I've tested enabling pthreads because of a warning I got during compilation,...

  • Marshall Marshall modified a comment on ticket #354

    You should also enable pthread checks for Windows because implementations are avaiable for MinGW compiler. And if pthread wasn't found then HAVE_PTHREAD won't be set. Regarding -fvisibility: you could add compiler flag checks to configure.ac for these and other flags.

  • Marshall Marshall posted a comment on ticket #354

    You should also enable pthread checks for Windows because implementations are avaiable for MinGW compiler. And if pthread wasn't found then HAVE_PTHREAD won't be set.

  • Marshall Marshall posted a comment on ticket #354

    The changes in JPEGDecoder are needed because the build will otherwise break for some people on MinGW32: https://github.com/mxe/mxe/issues/3012 Besides I really wonder what these strange redefines are even meant for. They're not needed for GCC Linux and MinGW so I guess they're some workaround for MSVC? -fvisibility is known by clang but I guess you can make it optional. The user can always add it to the build flags themself.

  • Marshall Marshall posted a comment on ticket #354

    Here's a much better patch. It will use »__attribute__((visibility("default")))« if a GNU compiler is used which works well on MinGW and Linux targets.

  • Marshall Marshall created ticket #617

    readelf fail to build with -Werror on Linux

  • Marshall Marshall created ticket #354

    build fixes for MinGW

  • Marshall Marshall posted a comment on ticket #305

    also: aesdec, aesdeclast, vbroadcasti128

  • Marshall Marshall posted a comment on discussion Open Discussion

    I don't really like the lack of MASM assembler dialect support on Linux. The assemblers are difficult to build from scratch. I don't know much about assembler programming, but is there a reason why the asm source files aren't written in a dialect supported by let's say NASM?

  • Marshall Marshall created ticket #378

    Unix Makefile updates

  • Marshall Marshall posted a comment on discussion Open Discussion

    "gnu things"... I like you Pavlov :-) Well, there's a readme.txt file explaining how to compile on Unix systems.

  • Marshall Marshall modified a comment on discussion Open Discussion

    I'll take a look at the makefiles and see if I can make unrar optional. Update: Here's a patch. Now you can set USE_JWASM=1 to build with jwasm instead of asmc and set DISABLE_RAR=1 to disable rar entirely. I've also added a distclean target and I've added "-nologo" to the AFLAGS.

  • Marshall Marshall posted a comment on discussion Open Discussion

    I'll take a look at the makefiles and see if I can make unrar optional.

  • Marshall Marshall modified a comment on discussion Open Discussion

    By the way: you can use jwasm, it only chokes on AesOpt.asm but the rest assembles fine. So if you can't use asmc you need to compile the AES sources with asm disabled (better than having asm disabled entirely I guess). make sure "asmc" is a link to "jwasm" cd CPP/7zip/Bundles/Alone2 build with asm, ignore errors: USE_ASM=1 IS_X64=1 make -j4 -k -f makefile.gcc rebuild AES files without asm: rm -f _o/Aes.o _o/MyAes.o && IS_X64=1 make -j4 -f makefile.gcc link with ASM enabled: USE_ASM=1 IS_X64=1 make...

  • Marshall Marshall posted a comment on discussion Open Discussion

    By the way: you can use jwasm, it only chokes on AesOpt.asm but the rest assembles fine. So if you can't use asmc you need to build the AES sources with asm disabled (better than having asm disabled entirely I guess). make sure "asmc" is a link to "jwasm" cd CPP/7zip/Bundles/Alone2 build with asm, ignore errors: USE_ASM=1 IS_X64=1 make -j4 -k -f makefile.gcc rebuild AES files without asm: rm -f _o/Aes.o _o/MyAes.o && IS_X64=1 make -j4 -f makefile.gcc link with ASM enabled: USE_ASM=1 IS_X64=1 make...

  • Marshall Marshall posted a comment on discussion Open Discussion

    A little hint on the Unix makefiles: add "-q" to the build flags to suppress the copyright message

  • Marshall Marshall posted a comment on discussion Open Discussion

    Thanks for the Linux version! A hint if you want to provide Linux binaries: build them on old distros. I think it was mentioned before, simple Linux binaries built on old distros normally run on newer ones too, but often not the other way around. Your binary was linked against libgcc, libstdc++ and glibc, so no fancy dependencies there. If you can't run the 32 bit version on a 64 bit distro that means this distro has no multilib support installed.

  • Marshall Marshall committed [91ea2c]

    Windows compatibility

  • Marshall Marshall modified a comment on discussion Open Discussion

    I remember a discussion about the differences between 7zip and p7zip and why p7zip was outdated, but can't find it anymore. So I'm sorry for creating a new topic instead. I took a look at the lzma1900 sdk source and most of the C source files will actually build without problems on Linux. The example tools for 7z and lzma can be build with the provided Makefiles, for the full C sources I have attached a Makefile. Multi-threading still requires porting the code to use pthread, but compiling single-threading...

  • Marshall Marshall posted a comment on discussion Open Discussion

    I remember a discussion about the differences between 7zip and p7zip and why p7zip was outdated, but can't find it anymore. So I'm sorry for creating a new topic instead. I took a look at the lzma1900 sdk source and most of the C source files will actually build without problems on Linux. The example tools for 7z and lzma can be build with the provided Makefiles, for the full C sources I have attached a Makefile. Multi-threading still requires porting the code to use pthread, but compiling single-threading...

  • Marshall Marshall posted a comment on discussion Open Discussion

    I hope this is the right place to post this. I have written my own simple GUI using the FLTK toolkit: https://github.com/darealshinji/mediainfo-fltk I thought people may find it useful if they want to use libmedianfo and don't know where to start.

  • Marshall Marshall posted a comment on discussion Open Discussion

    I think you can close this, as by now AppImage, Flatpak and Snap are provided.

  • Marshall Marshall modified a comment on ticket #478

    Same issue. Seems to happen when I open an archive and adjust the file list table a bit. Since PeaZip launches and is capable of reading and creating common archive formats the issue is unlikely just a missing dependency. Addendum: This is the console output: $ peazip [DEBUG] Name com.canonical.AppMenu.Registrar does not exist on the session bus TApplication.HandleException Access violation Stack trace: $0000000000694F85 $00000000008B8A21 $000000000052C81F $00000000008AA7B4 $0000000000979A32 $0000000000939A45...

  • Marshall Marshall posted a comment on ticket #478

    Same issue. Seems to happen when I open an archive and adjust the file list table a bit. Since PeaZip launches and is capable of reading and creating common archive formats the issue is unlikely just a missing dependency

  • Marshall Marshall created ticket #524

    Better .deb package creation [Linux]

  • Marshall Marshall posted a comment on discussion Open Discussion

    p7zip seems to have diverged from 7zip quite a lot, so doing a simple diff doesn't help much. I guess someone would have to start from scratch by downloading the 7zip sources and writing a posix makefile for 7za, adding all the files needed to build it to that makefile and then going step by step through all the files that don't build. Quite a lot of work but probably not as much as trying to update p7zip.

  • Marshall Marshall posted a comment on discussion Open Discussion

    You can at least compile an extractor from the official lzma sdk. There's a Makefile for GCC located at "C/Util/7z" that works on Linux.

  • Marshall Marshall modified a comment on ticket #535

    Is that variable declaration thing in nsvg__addActive() really an issue? As for the float thing, the regular atof() function returns returns double too. I'd rather replace float with double wherever it's possible. Update: I've fixed remaining "-Wfloat-conversion" warnings.

  • Marshall Marshall posted a comment on ticket #535

    Is that variable declaration thing in nsvg__addActive() really an issue? As for the float thing, the regular atof() function returns returns double too. I'd rather replace float with double wherever it's possible.

  • Marshall Marshall posted a comment on ticket #535

    I've changed the code to not convert any unicode names. I've also edited nsvg__atof(). https://github.com/darealshinji/nsis-plugin-svg2bmp-test

  • Marshall Marshall posted a comment on ticket #535

    Can you make a pull request to Github or post your changes somewhere else? Using Windows specific calls is fine since NSIS is Windows specific. As for float, isn't it better to use double everywhere? Maybe rendering of larger images can be speed up if you lower the DPI, which is currently hard-coded to 96.0.

  • Marshall Marshall modified a comment on ticket #535

    I should have mentioned that I'm the guy who wrote the plugin. I've uploaded compiled DLLs to the release section: https://github.com/darealshinji/nsis-plugin-svg2bmp-test/releases The reason I'm using a shell script to build is that I only have VS 2017 installed. I don't have too much experience with VS and using MinGW seems to create smaller binaries while limiting the runtime dependencies to KERNEL32.dll, msvcrt.dll and USER32.dll.

  • Marshall Marshall posted a comment on ticket #535

    I should have mentioned that I'm the guy who wrote the plugin. I've uploaded compiled DLLs to the release section. The reason I'm using a shell script to build is that I only have VS 2017 installed. I don't have too much experience with VS and using MinGW seems to create smaller binaries while limiting the runtime dependencies to KERNEL32.dll, msvcrt.dll and USER32.dll.

  • Marshall Marshall modified a comment on ticket #535

    Here's a plugin to convert SVG files to BMP: https://github.com/darealshinji/nsis-plugin-svg2bmp-test I just don't know how to use it in a good way inside an NSIS script.

  • Marshall Marshall posted a comment on ticket #535

    Here a plugin to convert SVG files to BMP. I just don't know how to use it in a good way inside an NSIS script.

  • Marshall Marshall posted a comment on ticket #535

    It should be possible to use NanoSVG to write a small plugin.

  • Marshall Marshall created ticket #287

    cmake doesn't prefix intrinsics symbols

  • Marshall Marshall posted a comment on ticket #39

    If this only works with MSVC isn't it better do surround it by #ifdef _MSC_VER ?

  • Marshall Marshall created ticket #39

    silence pragma warnings with MinGW

  • Marshall Marshall created ticket #38

    MingW32 static library builds

  • Marshall Marshall posted a comment on ticket #274

    Appearently it's not that difficult to build a working static library with MingW32. Just apply the attached patch and make sure you build with -DDJVU_STATIC

  • Marshall Marshall posted a comment on ticket #1049

    Here are fixed debian packaging files. No lintian warnings at all. Everything important like removal of the old "malformed" repo packages or the removal of the conffiles is handled in the maintainer scripts preinst and postrm. I hope that helps.

  • Marshall Marshall created ticket #1049

    repo-MediaArea-*.deb: incorrect packaging

  • Marshall Marshall modified a comment on discussion Open Discussion

    An AppImage is a downloadable file for Linux that contains an application and everything...

  • Marshall Marshall modified a comment on discussion Open Discussion

    An AppImage is a downloadable file for Linux that contains an application and everything...

  • Marshall Marshall posted a comment on discussion Open Discussion

    An AppImage is a downloadable file for Linux that contains an application and everything...

  • Marshall Marshall created ticket #283

    "fullscreen" misspelled in option.c

  • Marshall Marshall created ticket #60

    please make installation paths configurable

  • Marshall Marshall created ticket #59

    compiler warnings

  • Marshall Marshall posted a comment on ticket #888

    You can view the source code from an option in the context menu. At least on the...

  • Marshall Marshall posted a comment on ticket #888

    Seems to be fixed in the latest versions. Using v0.7.87, compiled from source, on...

  • Marshall Marshall created ticket #274

    mingw32: can't (cross-)compile static library

  • Marshall Marshall posted a comment on ticket #271

    Looking on the Google groups releaved this seems to be a common problem depending...

  • Marshall Marshall created ticket #272

    --checkbox option for text-info

  • Marshall Marshall created ticket #271

    --center not always working on v0.35.0

  • Marshall Marshall posted a comment on ticket #452

    What about setting it through ./configure for the WxWidgets GUI? Also, since Tree...

  • Marshall Marshall committed [903a03]

    build on Linux without libbsd

  • Marshall Marshall posted a comment on discussion Ext2Fsd

    Same problem here. I just wanted to copy some files, but whatever I do, the ext4...

  • Marshall Marshall committed [fcd1e4]

    Merge pull request #34 from darealshinji/patch-1

  • Marshall Marshall committed [160f60]

    Update autotools stuff for libtheora and build ...

  • Marshall Marshall committed [f4720a]

    libtheora: build with -fno-aggressive-loop-opti...

  • Marshall Marshall committed [ac63d9]

    jpeg: CVE-2013-6629 and CVE-2013-6630 fix

  • Marshall Marshall committed [b5849f]

    move aclocal.m4

  • Marshall Marshall committed [dd4983]

    sqlite: use aclocal to generate aclocal.m4

  • Marshall Marshall committed [c3aa08]

    Delete sqlite/aclocal.m4

  • Marshall Marshall committed [b12f89]

    xul.linux.rel.i686.lint: we're using our own op...

  • Marshall Marshall committed [98042c]

    xul.linux.rel.x86_64.lint: we're using our own ...

  • Marshall Marshall committed [1a0c91]

    xulrunner/nss: build with `-fno-strict-aliasing...

  • Marshall Marshall committed [dde985]

    sqlite: enable warnings

  • Marshall Marshall committed [4dc47e]

    taglib: pass build flags

  • Marshall Marshall committed [e8ed42]

    lint-build hardening flags

  • Marshall Marshall committed [e61b16]

    taglib buildflags

  • Marshall Marshall committed [0653c5]

    Set correct path to symbolstore.py

  • Marshall Marshall committed [1dd48f]

    lint-build.sh: build-deps for Debian-based systems

  • Marshall Marshall committed [0acfee]

    Merge pull request #31 from darealshinji/xul-19...

  • Marshall Marshall committed [b53384]

    Update xulrunner's sqlite to v3.8.11.1

  • Marshall Marshall committed [74f164]

    Update sqlite to v3.8.11.1

  • Marshall Marshall committed [26741d]

    sqlite: set correct configuration, copy Makefil...

  • Marshall Marshall committed [b8b3f8]

    Update flags for hardened Xulrunner builds

  • Marshall Marshall committed [b57f3d]

    Merge 9aeb26c4463306e31a1597412e3b2e9a5a5e7724 ...

  • Marshall Marshall committed [8e150a]

    Merge 9aeb26c4463306e31a1597412e3b2e9a5a5e7724 ...

  • Marshall Marshall committed [9b813b]

    build.sh: build sqlite first, strip release bin...

  • Marshall Marshall committed [7c410a]

    lint-build.sh: build sqlite and taglib first, s...

  • Marshall Marshall committed [25c734]

    Merge 9aeb26c4463306e31a1597412e3b2e9a5a5e7724 ...

  • Marshall Marshall committed [b19b1f]

    Merge b6c72405254b11ad4aa358fc9699e2971bb281a7 ...

  • Marshall Marshall committed [5c453d]

    Merge b6c72405254b11ad4aa358fc9699e2971bb281a7 ...

  • Marshall Marshall committed [43142c]

    Merge 9aeb26c4463306e31a1597412e3b2e9a5a5e7724 ...

  • Marshall Marshall committed [11f432]

    Merge b6c72405254b11ad4aa358fc9699e2971bb281a7 ...

  • Marshall Marshall committed [487823]

    Merge b6c72405254b11ad4aa358fc9699e2971bb281a7 ...

  • Marshall Marshall committed [a6b09a]

    Debian packaging: don't override dh_builddeb

  • Marshall Marshall committed [4977f3]

    Debian packaging: bump Standards-Version

  • Marshall Marshall committed [a7bfed]

    Add trailing newline to debian/rules

  • Marshall Marshall committed [c016b2]

    Try to fix Makefile verbosity stuff for Mac

  • Marshall Marshall committed [48a00e]

    Don not automatically silence strip

  • Marshall Marshall committed [df0532]

    Use less confusing makro names

  • Marshall Marshall posted a comment on ticket #31

    Still learning, but I'll try my best. ;-) Thanks for the advice.

  • Marshall Marshall modified a comment on ticket #168

    You might want to take a look at this: https://github.com/darealshinji/debian-packaging/tree/master/games/alephone-svn...

1 >