diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-04-22 14:53:53 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2012-04-22 14:53:53 +0000 |
commit | 61803ce88f00801c057f2834b03fa51962d6d93c (patch) | |
tree | 46a0c3ac21bfea55c13c37c8f3685ac386025672 /app-misc | |
parent | x86 stable, bug #412665 (diff) | |
download | historical-61803ce88f00801c057f2834b03fa51962d6d93c.tar.gz historical-61803ce88f00801c057f2834b03fa51962d6d93c.tar.bz2 historical-61803ce88f00801c057f2834b03fa51962d6d93c.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha100_p7/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/mc/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/mc/Manifest | 11 | ||||
-rw-r--r-- | app-misc/mc/files/mc-4.8.3-missing-do_panel_cd_stub_env.c | 397 | ||||
-rw-r--r-- | app-misc/mc/mc-4.8.3.ebuild | 84 |
4 files changed, 495 insertions, 5 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog index 8d7f95edaec0..e1b6e3d32c18 100644 --- a/app-misc/mc/ChangeLog +++ b/app-misc/mc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/mc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.251 2012/03/27 16:54:22 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.252 2012/04/22 14:53:53 slyfox Exp $ + +*mc-4.8.3 (22 Apr 2012) + + 22 Apr 2012; Sergei Trofimovich <slyfox@gentoo.org> + +files/mc-4.8.3-missing-do_panel_cd_stub_env.c, +mc-4.8.3.ebuild: + Version bump. *mc-4.8.2-r2 (27 Mar 2012) diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest index 7df9c28574df..7a5e5cf0baa0 100644 --- a/app-misc/mc/Manifest +++ b/app-misc/mc/Manifest @@ -10,12 +10,14 @@ AUX mc-4.8.1-muldefs.patch 1534 RMD160 05f5aca41cac9db155bcad344d22d68c189c42a2 AUX mc-4.8.2-fix-existing.patch 1277 RMD160 d51f9df0191716f607c00a2570c21ff4c4b8153d SHA1 b2e92d6c804275a69ec19678873db0e698e227e3 SHA256 0c2a9ddd53f8744815fa1d5a5519578c723d45742f6c57aca08c690e8db3cba2 AUX mc-4.8.2-mcedit-without-file-param-fix.patch 1550 RMD160 20e35f42aebd4caca8d2179a4ef5db1a3da3757c SHA1 0194743dc79f0b60493a33d00fc8b9aef3959b82 SHA256 c511bd9184176a80a44640e896774a5bda9240f95e21e0335047f1b56d5d26ca AUX mc-4.8.2-missing-do_panel_cd_stub_env.c 5448 RMD160 d892fd88563d6a1d21ad075d729307d7830cebfb SHA1 a5742a2fbe4529e5a5bdd0654f4873c714aa4adb SHA256 9338fc4b8c6f48e97c2f604bd07dd7d11d4fd367184c8907758f7ddf85cc6c13 +AUX mc-4.8.3-missing-do_panel_cd_stub_env.c 5456 RMD160 44294799cde0c3f135a41d828f7b84a4f08da38e SHA1 a12866362fd72a19ae4b1eaa6b24977b66e96528 SHA256 1ea801331225e268f9c458aa14fc654413c55e3f9b4d0f8e163ad8c40f5d10c3 DIST mc-4.7.0.10.tar.bz2 2862849 RMD160 83a527a94a81f886eb7f80b8965554bf927cad65 SHA1 2bc13f963780eaddac2f675b9145656d759f974e SHA256 99136c447a718c6bd681cb0f7d3ab9df4f5494d35cb3682f01ccf004873e56fb DIST mc-4.7.0.3.tar.bz2 2793651 RMD160 ecda5e6befe4b1e0442044b732e7903b01ed73ae SHA1 2d319fc940283e4327cd5bc2f977b724461f1305 SHA256 71caeaf00606c45228362fb6a4d2f1b6d47b6c1056db46b975255aac5af45ef7 DIST mc-4.7.5.2.tar.lzma 1943321 RMD160 8477450d0f2cddc356d93c5006fcfd278966f863 SHA1 fb44d01a80c5e4589aece205adccff5b5a5c34c1 SHA256 ca362c629ea984b635e38e0912ec3a7ceb44facc18f0c17c17d6a114c14e7c26 DIST mc-4.7.5.6.tar.xz 1995148 RMD160 605169df7f16e006a7889025852056041c4afd93 SHA1 3773da724813e6d93e4178850a03bc0f501f4b12 SHA256 8fc20859eac824b062fb2862429579b75cdbfb8d9011f1a7793d516550af4ffd DIST mc-4.8.1.tar.xz 2057960 RMD160 db2d44cffd1e78c1f85a946ebb314542a526d82d SHA1 873b35ebe3f48a661f7d49a988464ac18d40647d SHA256 3a734a12940e7f7db5b93a45823266c5ec2582838ac7d62c681283c1b0a8b672 DIST mc-4.8.2.tar.xz 2037408 RMD160 ccdde662099d0ee4f6caff298030b6cd79806c67 SHA1 06e0426f811416f4b92530898ed2c917a0b626f6 SHA256 f761d5e92d57383819656388f3bb7f998734e474ba943630c6943778e355dc09 +DIST mc-4.8.3.tar.xz 2042276 RMD160 ba32707ba36442d9410fb60cc01308129ec93d73 SHA1 7ae309225298426c5cb799cd0087b3669019d9df SHA256 bd2855116f6dc9acf5b45d2794beeba3ddfb2e71cd9ac3b692dd6629019e42a3 EBUILD mc-4.7.0.10.ebuild 1920 RMD160 8f3ef7092e656e806c7252fdd54f5e8c066316fc SHA1 72710e8c6a105a98071fea1c2402d8b5d16fac38 SHA256 4b63687f1d1ebaefdc17d5bb8e97d0477e495690585950f43f78d844500f4f02 EBUILD mc-4.7.0.3.ebuild 1706 RMD160 47509be466b4c9cb659cbaee63ac3f4919802b30 SHA1 7e81b7de80a5b28b9f458a25f9c7f4e932a2a155 SHA256 5108770f4b2d507a912a0ec5669dd6d23512afd0b70eadfcc10f7359513f9dbf EBUILD mc-4.7.5.2.ebuild 1950 RMD160 1ca9e3bda31808ca7ef6134f4dc0bd1f960dce16 SHA1 bf5bb81a103d5d26f3277020ac474ca278a02779 SHA256 43dead96569eba118d74d4eee7955c291c2e6e07bebed3de7cd146a2fa2a70f5 @@ -23,13 +25,14 @@ EBUILD mc-4.7.5.6-r1.ebuild 2045 RMD160 270e8616950482b443dc4d0d982353511084f871 EBUILD mc-4.8.1-r1.ebuild 2407 RMD160 d3cfbcc14a3bcde7449b1380994bc1943863c54d SHA1 bcdd9e44d882b47a18ab557461a84b1672c7c597 SHA256 cc7c39d41759259dcc79996c57c23fedbdd673e5c637a24a51618a6c3a4167fb EBUILD mc-4.8.1-r2.ebuild 2367 RMD160 8ef9c92e9eb37289bbcf82c00291fb2633567cd6 SHA1 69f005824abd578dd8354ba2a785414eff1e2f4e SHA256 7328db03cfaf7e45213a611b7e7b48236a028cadc4c44f58c0d57da9b1d40947 EBUILD mc-4.8.2-r2.ebuild 2334 RMD160 eda970445a1a87a61a497ca7f5f2b423d0c14d34 SHA1 399cc23c26c008432381755b89f703b8e0ce2a57 SHA256 82ec2b8854498f7d99469dc85f5fe5b213cc09991a7d5836c706e23fd11b54ab +EBUILD mc-4.8.3.ebuild 2189 RMD160 dbbca5e4b84c601e70c4a2dac87462fb002f9432 SHA1 cab3561224477d61fce7e0b851112a12e716cca3 SHA256 378dfec7ab52013d9d013cb7b435fb87c65ca084903fe7f90eb42f67e3666244 EBUILD mc-9999.ebuild 2818 RMD160 545d1177af8c5040028b20591e997795d21f02d8 SHA1 fdcb74c3aedeab7ac7778960cca432d9ea54f336 SHA256 7e613f9a317cdda295a300646c0919010e163952d09a127879cbec1c6ec863af -MISC ChangeLog 36473 RMD160 809c1b210465e222678f03a12a66583f500f785c SHA1 7328106fb14132b15229bece5bcb4724e5778d75 SHA256 fb65de5ecbf0bdcaf9141a3fa8f6b4c4e6052b841c9a474cb13f422951d597a0 +MISC ChangeLog 36637 RMD160 10560de7d818a240227f10d9166b1620968cc2a1 SHA1 be5cccf4f76cf44f78236d3353758023ceb731da SHA256 cb1d54aeee8badb2332fa982a3f31b7bab9b56fb0a2fc77597f8fd3e4a7b45f6 MISC metadata.xml 753 RMD160 411d630a4ac61019ad5154441b0afdbab8d807a2 SHA1 18bdba03c04541cc8294f3f19caeb2ec216a58be SHA256 002f3cef4b01416e6d67722b3784251c37ed8d70583a69f53fb305a64ef30d52 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk9x8fIACgkQcaHudmEf86qeVQCdH/xICFKD6hzU3jDUJUY8fHIG -sMcAnA6XGCFsPV90rPIWVjmhm7BwtDXa -=OFPs +iEYEARECAAYFAk+UHLMACgkQcaHudmEf86o5ZACfdn9DOwZE/SwUBjC8fYy5yJ6p +x88An1DmjW9Pqgdf4TcOtdmWv3g5apXI +=Nusr -----END PGP SIGNATURE----- diff --git a/app-misc/mc/files/mc-4.8.3-missing-do_panel_cd_stub_env.c b/app-misc/mc/files/mc-4.8.3-missing-do_panel_cd_stub_env.c new file mode 100644 index 000000000000..5591880f919e --- /dev/null +++ b/app-misc/mc/files/mc-4.8.3-missing-do_panel_cd_stub_env.c @@ -0,0 +1,397 @@ +#include "src/subshell.h" +#include "src/setup.h" + + +panels_options_t panels_options; +struct mc_fhl_struct *mc_filehighlight; +int confirm_execute = 0; +int auto_save_setup = 0; +int free_space = 0; +int horizontal_split = 0; +int first_panel_size = 0; +int default_source_codepage = 0; +int menubar_visible = 1; +WPanel *current_panel; +WInput *cmdline; +WMenuBar *the_menubar; +const global_keymap_t *panel_map; +gboolean command_prompt; +int saving_setup; + +panels_layout_t panels_layout = { + .horizontal_split = 0, + .vertical_equal = 1, + .left_panel_size = 0, + .horizontal_equal = 1, + .top_panel_size = 0 +}; + +WInput * +command_new (int y, int x, int cols) +{ + WInput *cmd; + const input_colors_t command_colors = { + DEFAULT_COLOR, + COMMAND_MARK_COLOR, + DEFAULT_COLOR, + COMMAND_HISTORY_COLOR + }; + + cmd = input_new (y, x, (int *) command_colors, cols, "", "cmdline", + INPUT_COMPLETE_DEFAULT | INPUT_COMPLETE_CD | INPUT_COMPLETE_COMMANDS | + INPUT_COMPLETE_SHELL_ESC); + + /* Add our hooks */ + cmd->widget.callback = NULL; + + return cmd; +} + +int +do_cd (const vfs_path_t *new_dir, enum cd_enum exact) +{ + (void) new_dir; + (void) exact; + + return 0; +} + +void +do_subshell_chdir (const vfs_path_t * vpath, gboolean update_prompt, gboolean reset_prompt) +{ + (void) vpath; + (void) update_prompt; + (void) reset_prompt; +} + +void +shell_execute (const char *command, int flags) +{ + (void) command; + (void) flags; +} + +void +panel_load_setup (WPanel * panel, const char *section) +{ + (void) panel; + (void) section; +} + +void +panel_save_setup (WPanel * panel, const char *section) +{ + (void) panel; + (void) section; +} + +void +free_my_statfs (void) +{ + +} + +int +select_charset (int center_y, int center_x, int current_charset, gboolean seldisplay) +{ + (void) center_y; + (void) center_x; + (void) current_charset; + (void) seldisplay; + + return 0; +} + +void +update_xterm_title_path (void) +{ +} + +void +init_my_statfs (void) +{ +} +void +my_statfs (struct my_statfs *myfs_stats, const char *path) +{ + (void) myfs_stats; + (void) path; +} + +void +clean_dir (dir_list * list, int count) +{ + (void) list; + (void) count; + +} + +struct Widget * +get_panel_widget (int idx) +{ + (void) idx; + + return NULL; +} + + +int +do_load_dir (const vfs_path_t *vpath, dir_list * list, sortfn * sort, gboolean reverse, + gboolean case_sensitive, gboolean exec_ff, const char *fltr) +{ + (void) vpath; + (void) list; + (void) sort; + (void) reverse; + (void) case_sensitive; + (void) exec_ff; + (void) fltr; + + return 0; +} + +int +do_reload_dir (const vfs_path_t * vpath, dir_list * list, sortfn * sort, int count, + gboolean reverse, gboolean case_sensitive, gboolean exec_ff, const char *fltr) +{ + (void) vpath; + (void) list; + (void) sort; + (void) count; + (void) reverse; + (void) case_sensitive; + (void) exec_ff; + (void) fltr; + + return 0; + +} + +void +do_sort (dir_list * list, sortfn * sort, int top, gboolean reverse, + gboolean case_sensitive, gboolean exec_ff) +{ + (void) list; + (void) sort; + (void) top; + (void) reverse; + (void) case_sensitive; + (void) exec_ff; +} + +int +regex_command (const vfs_path_t *filename, const char *action, int *move_dir) +{ + (void) filename; + (void) action; + (void) move_dir; + + return 0; +} + +gboolean +if_link_is_exe (const vfs_path_t *full_name, const file_entry * file) +{ + (void) full_name; + (void) file; + + return TRUE; +} + +void +change_panel (void) +{ +} + +gboolean +set_zero_dir (dir_list * list) +{ + (void) list; + + return TRUE; +} + +void +load_hint (gboolean force) +{ + (void) force; +} + +panel_view_mode_t +get_display_type (int idx) +{ + (void) idx; + return view_listing; +} + +panel_view_mode_t +get_current_type (void) +{ + return view_listing; +} + +panel_view_mode_t +get_other_type (void) +{ + return view_listing; +} + +int +get_current_index (void) +{ + return 0; +} + +int +get_other_index (void) +{ + return 1; +} + +int +unsorted (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +int +sort_name (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +int +sort_vers (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +int +sort_ext (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +int +sort_time (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +int +sort_atime (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +int +sort_ctime (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +int +sort_size (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +int +sort_inode (file_entry * a, file_entry * b) +{ + (void) a; + (void) b; + + return 0; +} + +void +set_display_type (int num, panel_view_mode_t type) +{ + (void) num; + (void) type; +} + +void +copy_cmd_local (void) +{ +} + +void +delete_cmd_local (void) +{ +} + +void +view_raw_cmd (void) +{ +} + +void +edit_cmd_new (void) +{ +} + +void +rename_cmd_local (void) +{ +} + +void +select_invert_cmd (void) +{ +} + +void +unselect_cmd (void) +{ +} + +void +select_cmd (void) +{ +} + +struct WPanel * +get_other_panel (void) +{ + return NULL; +} + +const panel_field_t * +sort_box (panel_sort_info_t * info) +{ + (void) info; + + return NULL; +} + +void +midnight_set_buttonbar (WButtonBar * b) +{ + (void) b; +} diff --git a/app-misc/mc/mc-4.8.3.ebuild b/app-misc/mc/mc-4.8.3.ebuild new file mode 100644 index 000000000000..31937f9b405b --- /dev/null +++ b/app-misc/mc/mc-4.8.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.3.ebuild,v 1.1 2012/04/22 14:53:53 slyfox Exp $ + +EAPI=4 + +inherit flag-o-matic + +MY_P=${P/_/-} + +DESCRIPTION="GNU Midnight Commander is a text based file manager" +HOMEPAGE="http://www.midnight-commander.org" +SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" +IUSE="+edit gpm mclib nls samba +slang test X +xdg" + +RDEPEND=">=dev-libs/glib-2.8:2 + gpm? ( sys-libs/gpm ) + kernel_linux? ( sys-fs/e2fsprogs ) + samba? ( net-fs/samba ) + slang? ( >=sys-libs/slang-2 ) + !slang? ( sys-libs/ncurses ) + X? ( x11-libs/libX11 + x11-libs/libICE + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libSM )" +DEPEND="${RDEPEND} + app-arch/xz-utils + dev-util/pkgconfig + nls? ( sys-devel/gettext ) + test? ( dev-libs/check ) + " + +S=${WORKDIR}/${MY_P} + +src_prepare() { + cp "${FILESDIR}"/${P}-missing-do_panel_cd_stub_env.c \ + tests/src/filemanager/do_panel_cd_stub_env.c || die +} + +src_configure() { + local myscreen=ncurses + use slang && myscreen=slang + [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" + + local homedir=".mc" + use xdg && homedir="XDG" + + econf \ + --disable-dependency-tracking \ + $(use_enable nls) \ + --enable-vfs \ + $(use_enable kernel_linux vfs-undelfs) \ + --enable-charset \ + $(use_with X x) \ + $(use_enable samba vfs-smb) \ + $(use_with gpm gpm-mouse) \ + --with-screen=${myscreen} \ + $(use_with edit) \ + $(use_enable mclib) \ + $(use_enable test tests) \ + --with-homedir=${homedir} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS README NEWS + + # fix bug #334383 + if use kernel_linux && [[ ${EUID} == 0 ]] ; then + fowners root:tty /usr/libexec/mc/cons.saver + fperms g+s /usr/libexec/mc/cons.saver + fi +} + +pkg_postinst() { + elog "To enable exiting to latest working directory," + elog "put this into your ~/.bashrc:" + elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" +} |