Package Details: sunflower 0.5.63-1

Git Clone URL: https://aur.archlinux.org/sunflower.git (read-only, click to copy)
Package Base: sunflower
Description: Small and highly customizable twin-panel file manager for Linux with support for plugins
Upstream URL: https://sunflower-fm.org
Licenses: GPL3
Submitter: None
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 112
Popularity: 0.000017
First Submitted: 2011-05-25 09:32 (UTC)
Last Updated: 2022-03-02 21:24 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

MeanEYE commented on 2020-09-09 13:11 (UTC)

Sorry for late reply. Busy with work these days and switching internet provider in the midst of it all is not helping. Anyway.. copytree should absolutely handle directories as well. I don't have much experience with it and those lines of code are most likely not mine. I'll take a look. Can you confirm if /usr/share/pixmaps is also fine?

duht commented on 2020-09-07 21:50 (UTC) (edited on 2020-09-07 22:24 (UTC) by duht)

@MeanEYE I'm not a python programmer, but as I know shutil.copytree function can copy dir structure. Or maybe you should simply use a bash script instead to install things? Replacing if i.is.file part to something like if i.is.directory should maybe help?
/usr/share/icons/hicolor/scalable/apps/sunflower.svg should be ok in Arch too, but setup.py installs all images to /usr/share/sunflower/images which is not recognized by Arch.

Thanks for your hard work maintaining this great file manager. I hope I helped.

hernantz commented on 2020-09-05 01:04 (UTC)

I had to install python-cairo to get it running.

MeanEYE commented on 2020-08-24 12:55 (UTC)

@duht: Thanks for taking the time to package this. Unfortunately setup.py went through so many changes I can hardly follow it. The fact there's no definite guide online on how to properly make one is annoying in itself.

That said, I have fixed inclusion of pot and mo files as well as fixed the typo.

Regarding splash in Debian build file we put it in /usr/share/pixmaps/sunflower/splash.png while sunflower icon goes into /usr/share/icons/hicolor/scalable/apps/sunflower.svg. Arch might be the same regarding this.

Am not entirely sure how to make setup.py copy directory structure so any suggestion is more than welcome.

duht commented on 2020-08-24 11:41 (UTC) (edited on 2020-09-07 22:19 (UTC) by duht)

@MeanEYE take look at package() section on my PKGBUILD posted below. It's based on your latest git. There is some bugs in setup.py:
('share/sunflower/trasnaltions', list(str(i) for i in Path('translations/').rglob('*') if i.is_file())),
This line in your setup.py file has a typo 'trasnaltions' should be translations.
Additionally it copies only files without subfolders from 'translations' folder and as a result we get only one (the last one) *.po, *.mo and *.pot file.
In Arch translations should be in /usr/share/locale/[language]/LC_MESSAGES/\*.po.
'*.mo' and '*.pot' files are useless.
sunflower.png should be placed in /usr/share/pixmaps in Arch and I don't know where to place splash.png.

Spookcity commented on 2020-08-19 07:32 (UTC)

Yeah,I also get the same error as @bitwave. Thanks for working on this. Not sure what I'd do without sunflower

MeanEYE commented on 2020-08-18 11:17 (UTC)

Just so you folks know, I am here if you need some additional help regarding packaging this. I don't have much experience with Arch, but I can modify the project to better suit this distribution.

FabioLolix commented on 2020-08-18 10:52 (UTC)

@bitwave I didn't have any crash, however I've added the missing .svg. Also I've correct some dependcies

bitwave commented on 2020-08-18 07:59 (UTC)

Sunflower aborts with this error:

Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/sunflower/main.py", line 163, in do_activate self.window = MainWindow( File "/usr/lib/python3.8/site-packages/sunflower/gui/main_window.py", line 114, in init self.icon_manager.set_window_icon(self) File "/usr/lib/python3.8/site-packages/sunflower/icons.py", line 136, in set_window_icon window.set_icon_from_file(os.path.join(base_path, 'images', 'sunflower.svg')) gi.repository.GLib.Error: g-file-error-quark: Failed to open file “/usr/lib/python3.8/site-packages/images/sunflower.svg”: No such file or directory (4)

FabioLolix commented on 2020-08-08 15:12 (UTC)

I'll be back at updating/maintaining pkgbuilds in 1 or 2 days