From: Jeremy Huddleston Date: Wed, 20 Oct 2004 09:11:25 +0000 (+0000) Subject: Removed cvs junk from the patch. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3a7138d3406e39cd46976757c44f44c1b77dd338;p=gentoo.git Removed cvs junk from the patch. --- diff --git a/sys-apps/ivman/Manifest b/sys-apps/ivman/Manifest index 60f2ab609646..a07c8e139d19 100644 --- a/sys-apps/ivman/Manifest +++ b/sys-apps/ivman/Manifest @@ -1,16 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 bd2359ca274c28480c53adee0f270374 ivman-0.3.ebuild 809 MD5 3923b6ae9bc25fc124e24e7747c8a802 metadata.xml 226 +MD5 bd2359ca274c28480c53adee0f270374 ivman-0.3.ebuild 809 MD5 a349ebebad31d7e4068de836232d38d4 ChangeLog 465 MD5 18fc1db477b55bba40c6bef89d88c91c files/digest-ivman-0.3 61 MD5 f1e67af6cdf8b51ac4c5cd5e8e7ec298 files/ivman-0.3.init 524 -MD5 a73aefd7f2b6c80cd8fbe4d2533134ac files/ivman-0.3-cvs.update 14827 +MD5 1bbde55e181f71aac26d8f89b6b44330 files/ivman-0.3-cvs.update 13467 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBdUvCArHZZzCEUG0RAk8pAJ9Xup6iqex8f8qd6/Bg5lAbnQ/jzwCeMC4C -PvZ+vK+v/0ti4vRsD2VP4Lg= -=Lp/v +iD8DBQFBdivIArHZZzCEUG0RAoZ4AJ901IBjCi2oNXdejEChs2KaFKOcDgCfWieN +0lILlsTL9n1tsRjapQt0eos= +=gags -----END PGP SIGNATURE----- diff --git a/sys-apps/ivman/files/ivman-0.3-cvs.update b/sys-apps/ivman/files/ivman-0.3-cvs.update index 3c15c0dfb804..f5595a6f2671 100644 --- a/sys-apps/ivman/files/ivman-0.3-cvs.update +++ b/sys-apps/ivman/files/ivman-0.3-cvs.update @@ -1,118 +1,6 @@ -diff -u ivman-0.3/src/manager.c.orig ivman-0.3/src/manager.c ---- ivman-0.3/src/manager.c.orig 2004-09-30 17:06:19.918758400 +0200 -+++ ivman-0.3/src/manager.c 2004-09-30 17:08:32.532598032 +0200 -@@ -11,7 +11,7 @@ - * - * See http://www.troll.no/qpl for QPL licensing information. - * -- * $Id: ivman-0.3-cvs.update,v 1.1 2004/10/19 17:15:33 eradicator Exp $ -+ * $Id: ivman-0.3-cvs.update,v 1.1 2004/10/19 17:15:33 eradicator Exp $ - *****************************************************************************/ - - #include -@@ -108,6 +108,9 @@ - char *path; - gboolean retval; - -+ DEBUG("Checking for DVD in '%s' mounted on '%s'", device, -+ mount_point); -+ - path = - g_build_path(G_DIR_SEPARATOR_S, mount_point, "video_ts", NULL); - retval = g_file_test(path, G_FILE_TEST_IS_DIR); -@@ -155,6 +158,10 @@ - if (device2 != NULL) - DEBUG("Mapped to %s", device2); - -+ -+ // we said in the mailing list that we don't want to be calling -+ // commands -+ // like that anymore, or did i get that wrong? - argv[0] = MOUNT_PATH; - argv[1] = (device2 == NULL) ? device : device2; - argv[2] = NULL; -@@ -218,6 +225,19 @@ - - media_type = hal_device_get_property_string(hal_ctx, udi, - "storage.drive_type"); -+ -+ if ((hal_device_get_property_bool(hal_ctx, udi, "volume.is_disc") -+ == TRUE) && (!media_type)) -+ { -+ DEBUG("Forcing media type"); -+ media_type = -+ hal_device_get_property_string(hal_ctx, -+ hal_device_get_property_string -+ (hal_ctx, udi, -+ "block.storage_device"), -+ "storage.drive_type"); -+ } -+ - if (!media_type) - { - warn("cannot get storage.drive_type\n"); -@@ -285,7 +305,23 @@ - } - } - -+void ivm_eject_pressed(const char *udi) -+{ -+ char *device = NULL; - -+ device = -+ hal_device_get_property_string(hal_ctx, udi, "block.device"); -+ if (device != NULL) -+ { -+ if (cfg_actions->handle_eject) -+ ivm_run_command(device, cfg_actions->eject_cmd, -+ NULL); -+ DEBUG("EjectPressed"); -+ // should we unlock? -+ // what does the eject command do? -+ } -+ hal_free_string(device); -+} - - int main(int argc, char *argv[]) - { -@@ -317,8 +353,7 @@ - - - -- printf -- ("Ikke's Volume Manager pre-alpha, by Ikke (www.eikke.com)\n"); -+ printf("Ikke's Volume Manager, http://ivman.sf.net\n"); - - log_notice("IVM started"); - -diff -u ivman-0.3/src/IvmConfig/IvmConfigActions.xml.orig ivman-0.3/src/IvmConfig/IvmConfigActions.xml ---- ivman-0.3/src/IvmConfig/IvmConfigActions.xml.orig 2004-09-30 17:28:17.838404160 +0200 -+++ ivman-0.3/src/IvmConfig/IvmConfigActions.xml 2004-09-30 17:28:29.899570584 +0200 -@@ -5,8 +5,10 @@ - - - -- -- -+ -+ -+ -+ - - - +- +- ++ ++ ++ ++ + + +