Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F11054743
D1264.id3083.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
8 KB
Referenced Files
None
Subscribers
None
D1264.id3083.diff
View Options
diff --git a/files/0001-Add-support-for-stateless-lightdm-gtk-greeter.patch b/files/0001-Add-support-for-stateless-lightdm-gtk-greeter.patch
deleted file mode 100644
--- a/files/0001-Add-support-for-stateless-lightdm-gtk-greeter.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 518fd3534e132f0b0811607a239ec1ec27ffd158 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Federico=20Dami=C3=A1n=20Schonborn?=
- <federico.d.schonborn@protonmail.com>
-Date: Wed, 18 Jan 2017 15:52:21 -0300
-Subject: [PATCH] Add support for stateless lightdm-gtk-greeter
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-In any distribution using an stateless lightdm-gtk-greeter, the
-configuration file stored in configdir doesn't exists in first place
-because the greeter by default uses the files placed in datadir, so
-the program doesn't allow saving changes because the file doesn't
-exists and thus we don't have write permissions, so it can't be
-written.
-
-This patch adds a permission check over configdir if the file doesn't
-exists and the creation of an empty file (after writing, obviously)
-and the needed directory if neccessary, so this can work as expected.
-
-Signed-off-by: Federico Damián Schonborn <federico.d.schonborn@protonmail.com>
----
- lightdm_gtk_greeter_settings/Config.py | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/lightdm_gtk_greeter_settings/Config.py b/lightdm_gtk_greeter_settings/Config.py
-index e21bc63..c2c5211 100644
---- a/lightdm_gtk_greeter_settings/Config.py
-+++ b/lightdm_gtk_greeter_settings/Config.py
-@@ -149,12 +149,19 @@ class Config:
- else:
- config_section[key] = values[-1][1]
-
-+ # Create an empty file if it does not exists
-+ if not os.path.exists(self._output_path):
-+ os.makedirs(os.path.dirname(self._output_path))
- with open(self._output_path, 'w') as file:
- config_file.write(file)
-
- def is_writable(self):
-+ # self._output_path does exists and we have write permissions (normal behaviour)
- if os.path.exists(self._output_path) and os.access(self._output_path, os.W_OK):
- return True
-+ # self._output_path does not exits but we have write permissions in configdir (for stateless support)
-+ elif os.access(os.path.dirname(os.path.dirname(self._output_path)), os.W_OK):
-+ return True
- return os.access(os.path.dirname(self._output_path), os.W_OK | os.X_OK)
-
- def items(self):
---
-2.11.0
-
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -13,9 +13,7 @@
- python3-gobject-devel
rundeps :
- python3-gobject
-setup : |
- %patch -p1 < $pkgfiles/0001-Add-support-for-stateless-lightdm-gtk-greeter.patch
build : |
%python3_setup
install : |
- %python3_install
+ %python3_install
\ No newline at end of file
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -2,8 +2,8 @@
<Source>
<Name>lightdm-gtk-greeter-settings</Name>
<Packager>
- <Name>Federico Damián Schonborn</Name>
- <Email>federico.d.schonborn@protonmail.com</Email>
+ <Name>Asaf Niv</Name>
+ <Email>asafniv511@gmail.com</Email>
</Packager>
<License>GPL-3.0</License>
<PartOf>system.utils</PartOf>
@@ -20,6 +20,32 @@
<PartOf>system.utils</PartOf>
<Files>
<Path fileType="executable">/usr/bin</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/Config.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/GtkGreeterSettingsWindow.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/IconChooserDialog.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/IconEntry.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/IndicatorPropertiesDialog.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/IndicatorsEntry.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/MonitorsGroup.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/MultiheadSetupDialog.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/OptionEntry.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/OptionGroup.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/PositionEntry.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__init__.py</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/Config.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/GtkGreeterSettingsWindow.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/IconChooserDialog.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/IconEntry.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/IndicatorPropertiesDialog.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/IndicatorsEntry.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/MonitorsGroup.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/MultiheadSetupDialog.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/OptionEntry.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/OptionGroup.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/PositionEntry.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/__init__.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/__pycache__/helpers.cpython-35.pyc</Path>
+ <Path fileType="library">/usr/lib/python3.5/site-packages/__py3_build/lib/lightdm_gtk_greeter_settings/helpers.py</Path>
<Path fileType="library">/usr/lib/python3.5/site-packages/lightdm_gtk_greeter_settings-1.2.1-py3.5.egg-info</Path>
<Path fileType="library">/usr/lib/python3.5/site-packages/lightdm_gtk_greeter_settings/Config.py</Path>
<Path fileType="library">/usr/lib/python3.5/site-packages/lightdm_gtk_greeter_settings/GtkGreeterSettingsWindow.py</Path>
@@ -62,11 +88,11 @@
</Package>
<History>
<Update release="1">
- <Date>2017-01-18</Date>
+ <Date>2017-10-28</Date>
<Version>1.2.1</Version>
<Comment>Packaging update</Comment>
- <Name>Federico Damián Schonborn</Name>
- <Email>federico.d.schonborn@protonmail.com</Email>
+ <Name>Asaf Niv</Name>
+ <Email>asafniv511@gmail.com</Email>
</Update>
</History>
</PISI>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 12, 1:09 AM (3 h, 19 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5817943
Default Alt Text
D1264.id3083.diff (8 KB)
Attached To
Mode
D1264: Make it actually work.
Attached
Detach File
Event Timeline
Log In to Comment