Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29795 - EBUILD: run-exe-0.8: Support for all .EXE files
Summary: EBUILD: run-exe-0.8: Support for all .EXE files
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Wine Maintainers
: 88380 (view as bug list)
Depends on:
Reported: 2003-09-28 04:48 UTC by Per Wigren
Modified: 2010-09-12 17:47 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

sys-apps/run-exe/run-exe-0.8.ebuild (run-exe-0.8.ebuild,660 bytes, text/plain)
2003-09-28 04:49 UTC, Per Wigren
distfiles/run-exe-0.8.tar.bz2 (run-exe-0.8.tar.bz2,3.96 KB, application/octet-stream)
2003-09-28 04:51 UTC, Per Wigren

Note You need to log in before you can comment on or make changes to this bug.
Description Per Wigren 2003-09-28 04:48:44 UTC
I made this because Wine cannot run CLR binaries, Mono/PNet cannot run MSDOS/WIN32 binaries and the kernel binfmt_misc is not advanced enough to differ the types of Windows EXEs.

It is a tiny C-program (winexe-detector) that detects if it is a CLR, MSDOS or WIN32 EXE, and a small shellscript (run-exe) that reads /etc/conf.d/run-exe and executes CLR binaries with either mono or pnet/ilrun or some other program, MSDOS binaries with dosemu or wine and WIN32 binaries with wine. And a /etc/init.d/run-exe script to register Windows EXEs with /usr/bin/run-exe.

It will conflict with the /etc/{conf,init}.d/dotnet support in the mono ebuild that was added (partly by me) some time ago. This solution is much better!
Comment 1 Per Wigren 2003-09-28 04:49:37 UTC
Created attachment 18413 [details]
Comment 2 Per Wigren 2003-09-28 04:51:19 UTC
Created attachment 18414 [details]

It's less than 4 KB so I attach it here.. ;)
Comment 3 SpanKY gentoo-dev 2005-04-08 10:06:28 UTC
*** Bug 88380 has been marked as a duplicate of this bug. ***
Comment 4 Luke-Jr 2009-03-22 18:45:50 UTC
6 years later, and Gentoo still lacks this obvious functionality... bump

(Also, bug 246456 is dupe-like)
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-11-21 15:01:44 UTC
I've modified attached app a little and attached it to bug #246456 with pe-format integration in mind.
Comment 6 Per Wigren 2009-11-23 08:06:04 UTC
These update notifications sometimes make me so nostalgic... :)
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-07-15 15:44:29 UTC
I've commited similar solution of mine to the Sunrise Overlay per bug #321233. The package is named 'sys-apps/pe-format2', and as dotnet team doesn't maintain the original 'pe-format' anymore, there is a slight chance that it will replace it at some point.
Comment 8 Pacho Ramos gentoo-dev 2010-09-12 17:47:22 UTC
+*pe-format-2.0.3 (12 Sep 2010)
+  12 Sep 2010; Pacho Ramos <> +pe-format-2.0.3.ebuild,
+  metadata.xml:
+  Version bump with a new upstream, new proxy maintainer and fixing old bugs
+  #246456, #29795 (for support more exe files), #294749 (stop using bashisms
+  and adapt script to openrc), #321233 (pe-format2 is now pe-format). Really
+  thanks a lot to Michał Górny for taking care of this package.