Package Details: sunflower 0.4.62-5

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: 110
Popularity: 0.49
First Submitted: 2011-05-25 09:32
Last Updated: 2021-03-11 20:07

Latest Comments

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

duht commented on 2020-09-07 21:50

@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

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

MeanEYE commented on 2020-08-24 12:55

@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

@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

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

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

@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

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

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

nemesys commented on 2020-08-06 19:55

Maintainer: Please update this package to use a working PKGBUILD. I do not understand why you would take an orphanged package and not update it. Either update the package or let someone else do it. In the meantime I have updated sunflower-git with the appropriate fixes.