Home
last modified time | relevance | path

Searched refs:dataHome (Results 1 – 25 of 64) sorted by relevance

123

/dports/net-im/coyim/coyim-0.3.11/gui/
H A Dinstall.go27 dataHome := config.XdgDataHome()
28 if dataHome != "" && fileExists(dataHome) {
35 os.MkdirAll(filepath.Join(dataHome, "icons/hicolor/16x16/apps"), 0700)
36 os.MkdirAll(filepath.Join(dataHome, "icons/hicolor/32x32/apps"), 0700)
37 os.MkdirAll(filepath.Join(dataHome, "icons/hicolor/48x48/apps"), 0700)
38 os.MkdirAll(filepath.Join(dataHome, "icons/hicolor/128x128/apps"), 0700)
39 os.MkdirAll(filepath.Join(dataHome, "icons/hicolor/256x256/apps"), 0700)
42 icon16.SavePNG(filepath.Join(dataHome, "icons/hicolor/16x16/apps", fileName), 9)
51 dataHome := config.XdgDataHome()
52 if dataHome != "" && fileExists(dataHome) {
[all …]
/dports/x11/libxdg-basedir/libxdg-basedir-1.2.2/src/
H A Dbasedir.c105 char * dataHome; member
143 if (cache->dataHome) in xdgFreeData()
147 free(cache->dataHome); in xdgFreeData()
148 cache->dataHome = 0; in xdgFreeData()
319 if (!(cache->dataHome = xdgEnvDup("XDG_DATA_HOME")) && errno == ENOMEM) return FALSE; in xdgUpdateHomeDirectories()
325 if (cache->dataHome && cache->configHome && cache->cacheHome) return TRUE; in xdgUpdateHomeDirectories()
336 if (!cache->dataHome) in xdgUpdateHomeDirectories()
339 cache->dataHome = strdup(value); in xdgUpdateHomeDirectories()
358 return cache->dataHome && cache->configHome && cache->cacheHome; in xdgUpdateHomeDirectories()
404 "XDG_DATA_DIRS", cache->dataHome, DefaultDataDirectoriesList))) in xdgUpdateDirectoryLists()
[all …]
/dports/graphics/fraqtive/fraqtive-0.4.8/src/
H A Dconfigurationdata.cpp44 char* dataHome = getenv( "XDG_DATA_HOME" ); in ConfigurationData() local
45 if ( dataHome ) { in ConfigurationData()
46 if ( dataHome[ 0 ] == '/' ) in ConfigurationData()
47 m_dataPath = dataHome; in ConfigurationData()
49 m_dataPath = homePath + '/' + dataHome; in ConfigurationData()
/dports/net-im/signal-cli/signal-cli-0.9.0/src/main/java/org/asamk/signal/util/
H A DIOUtils.java25 var dataHome = System.getenv("XDG_DATA_HOME"); in getDataHomeDir() local
26 if (dataHome != null) { in getDataHomeDir()
27 return new File(dataHome); in getDataHomeDir()
/dports/devel/lazygit/lazygit-0.31.4/vendor/github.com/OpenPeeDeeP/xdg/
H A Dxdg.go114 dataHome := os.Getenv("XDG_DATA_HOME")
115 if dataHome == "" {
116 dataHome = defaulter.defaultDataHome()
118 return dataHome
/dports/devel/lazygit/lazygit-0.31.4/vendor/github.com/OpenPeeDeeP/xdg/xdg-1.0.0/
H A Dxdg.go114 dataHome := os.Getenv("XDG_DATA_HOME")
115 if dataHome == "" {
116 dataHome = defaulter.defaultDataHome()
118 return dataHome
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/twpayne/go-xdg/v6/
H A Dbasedirectoryspecification.go53 dataHome := firstNonEmpty(getenv("XDG_DATA_HOME"), defaultDataHome)
59 …dataDirs := append([]string{dataHome}, filepath.SplitList(firstNonEmpty(getenv("XDG_DATA_DIRS"), d…
69 DataHome: dataHome,
/dports/multimedia/libxine/xine-lib-1.2.11/contrib/libxdg-basedir/
H A Dbasedir.c107 char * dataHome; member
149 if (cache->searchableDataDirectories[0] != cache->dataHome) in xdgFreeData()
150 free(cache->dataHome); in xdgFreeData()
151 cache->dataHome = NULL; in xdgFreeData()
323 if (!(cache->dataHome = xdgGetEnv("XDG_DATA_HOME", defVal))) goto out; in xdgUpdateHomeDirectories()
360 cache->searchableDataDirectories[0] = cache->dataHome; in xdgUpdateDirectoryLists()
531 return xdgGetCache(handle)->dataHome; in xdgDataHome()
/dports/games/brumbrumrally/brumbrumrally-0.7/src/
H A DPath.cpp226 const char* dataHome = std::getenv("XDG_DATA_HOME"); in fetchDataPath() local
227 if (dataHome && *dataHome != '\0') in fetchDataPath()
229 pathStream << dataHome; in fetchDataPath()
/dports/x11/nwg-dock/nwg-dock-0.2.2/
H A Dmain.go27 dataHome string var
152 …wsImage, err := createImage(filepath.Join(dataHome, fmt.Sprintf("nwg-dock/images/%v.svg", currentW…
173 …pixbuf, _ := gdk.PixbufNewFromFileAtSize(filepath.Join(dataHome, fmt.Sprintf("nwg-dock/images/%v.s…
184 …pixbuf, _ := gdk.PixbufNewFromFileAtSize(filepath.Join(dataHome, fmt.Sprintf("nwg-dock/images/%v.s…
198 image, err := createImage(filepath.Join(dataHome, "nwg-dock/images/grid.svg"), imgSizeScaled)
359 dataHome = getDataHome()
365 …copyFile(filepath.Join(dataHome, "nwg-dock/style.css"), fmt.Sprintf("%s/style.css", configDirector…
524 if err := mRefProvider.LoadFromPath(filepath.Join(dataHome, "nwg-dock/hotspot.css")); err != nil {
/dports/x11-toolkits/termit/termit-termit-3.1/src/
H A Dsessions.c82 const gchar *dataHome = g_getenv("XDG_DATA_HOME"); in termit_init_sessions() local
83 if (dataHome) { in termit_init_sessions()
84 fullPath = g_strdup_printf("%s/termit", dataHome); in termit_init_sessions()
/dports/devel/libqtxdg/libqtxdg-3.8.0/test/
H A Dtst_xdgdirs.cpp107 QCOMPARE(XdgDirs::dataHome(), expectedDataHome); in testDataHome()
108 QCOMPARE(XdgDirs::dataHome(false), expectedDataHome); in testDataHome()
111 QCOMPARE(XdgDirs::dataHome(), m_dataHome); in testDataHome()
112 QCOMPARE(XdgDirs::dataHome(false), m_dataHome); in testDataHome()
/dports/x11/nwg-bar/nwg-bar-0.0.1/
H A Dmain.go25 dataHome string var
91 dataHome = getDataHome()
99 …copyFile(filepath.Join(dataHome, "nwg-bar/style.css"), filepath.Join(configDirectory, "style.css"))
102 copyFile(filepath.Join(dataHome, "nwg-bar/bar.json"), filepath.Join(configDirectory, "bar.json"))
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/cmd/dockerd/
H A Dconfig_common_unix.go30 dataHome, err := homedir.GetDataHome()
34 return filepath.Join(dataHome, "docker"), nil
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/cmd/dockerd/
H A Dconfig_common_unix.go30 dataHome, err := homedir.GetDataHome()
34 return filepath.Join(dataHome, "docker"), nil
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/cmd/dockerd/
H A Dconfig_common_unix.go30 dataHome, err := homedir.GetDataHome()
34 return filepath.Join(dataHome, "docker"), nil
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/cmd/dockerd/
H A Dconfig_common_unix.go30 dataHome, err := homedir.GetDataHome()
34 return filepath.Join(dataHome, "docker"), nil
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/cmd/dockerd/
H A Dconfig_common_unix.go30 dataHome, err := homedir.GetDataHome()
34 return filepath.Join(dataHome, "docker"), nil
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/cmd/dockerd/
H A Dconfig_common_unix.go30 dataHome, err := homedir.GetDataHome()
34 return filepath.Join(dataHome, "docker"), nil
/dports/astro/marble/marble-21.12.3/src/lib/marble/
H A DMarbleDirs.cpp239 QString dataHome = getenv( "XDG_DATA_HOME" ); in localPath() local
240 if( dataHome.isEmpty() ) in localPath()
241 dataHome = QDir::homePath() + QLatin1String("/.local/share"); in localPath()
243 return dataHome + QLatin1String("/marble"); // local path in localPath()
/dports/sysutils/chezmoi/chezmoi-2.9.3/internal/cmd/
H A Dconfig_test.go253 dataHome := filepath.Join(config.homeDir, ".local", "share")
257 DataHome: dataHome,
258 DataDirs: []string{dataHome},
/dports/databases/akonadi/akonadi-21.12.3/autotests/libs/testrunner/
H A Dconfig.cpp109 void Config::setXdgDataHome(const QString &dataHome) in setXdgDataHome() argument
111 const QDir dataHomeDir(dataHome); in setXdgDataHome()
/dports/x11-wm/blackbox/blackbox-0.70.1/lib/
H A DXDG.cc80 std::string bt::XDG::BaseDir::dataHome() in dataHome() function in bt::XDG::BaseDir
117 std::string path = dataHome() + filename; in writeDataFile()
/dports/sysutils/helm/helm-3.5.2/pkg/helmpath/
H A Dlazypath_windows.go20 func dataHome() string { return configHome() } func
/dports/sysutils/istio/istio-1.6.7/vendor/helm.sh/helm/v3/pkg/helmpath/
H A Dlazypath_windows.go20 func dataHome() string { return configHome() } func

123