public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-video/bdsup2sub/files/
@ 2017-01-04 10:15 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2017-01-04 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     4900df19ccc108c602fda59a5e6a7f095934241b
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Dec 30 14:26:11 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 10:13:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4900df19

media-video/bdsup2sub: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3286

 .../bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff       | 37 ----------------------
 1 file changed, 37 deletions(-)

diff --git a/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff b/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff
deleted file mode 100644
index 4a045d3..00000000
--- a/media-video/bdsup2sub/files/bdsup2sub-4.0.0-xdg.diff
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Naur src.orig/deadbeef/SupTools/Core.java src/deadbeef/SupTools/Core.java
---- src.orig/deadbeef/SupTools/Core.java	2010-07-28 22:56:08.319223422 +0200
-+++ src/deadbeef/SupTools/Core.java	2010-07-28 22:56:08.890223411 +0200
-@@ -22,6 +22,8 @@
- import deadbeef.Tools.Props;
- import deadbeef.Tools.ToolBox;
- 
-+import java.io.File;
-+
- /*
-  * Copyright 2009 Volker Oth (0xdeadbeef)
-  *
-@@ -768,6 +770,11 @@
- 			}
- 			fnameProps += Core.iniName;
- 
-+			// use XDG spec
-+			fnameProps = System.getenv("XDG_CONFIG_HOME");
-+			if (fnameProps == null) fnameProps = System.getProperty("user.home") + "/.config";
-+			fnameProps += "/" + Core.iniName;
-+
- 			// read properties from ini file
- 			props = new Props();
- 			props.setHeader(Core.progNameVer+" settings - don't modify manually");
-@@ -905,8 +912,11 @@
- 	 * Write properties
- 	 */
- 	public static void storeProps() {
--		if (props != null)
-+		if (props != null) {
-+			File path = new File(ToolBox.getPathName(fnameProps));
-+			path.mkdirs();
- 			props.save(fnameProps);
-+		}
- 	}
- 	
- 	/**


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-04 10:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 10:15 [gentoo-commits] repo/gentoo:master commit in: media-video/bdsup2sub/files/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox