Page MenuHomeFreeBSD

New port: x11-themes/xfce-evolution: Complete Xfce Evolution Gtk2, Gtk3, Qt4, Qt5, wxWidgets, Xfce themes
ClosedPublic

Authored by yuri on Nov 24 2017, 5:15 AM.
Tags
None
Referenced Files
F105639631: D13219.id35746.diff
Wed, Dec 18, 3:23 PM
Unknown Object (File)
Thu, Dec 12, 12:57 AM
Unknown Object (File)
Thu, Dec 5, 11:05 AM
Unknown Object (File)
Wed, Dec 4, 10:41 PM
Unknown Object (File)
Wed, Dec 4, 5:43 PM
Unknown Object (File)
Sat, Nov 30, 10:39 PM
Unknown Object (File)
Fri, Nov 29, 4:26 PM
Unknown Object (File)
Fri, Nov 22, 4:03 AM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 13028
Build 13282: arc lint + arc unit

Event Timeline

yuri retitled this revision from New port: Complete Xfce Evolution Gtk2, Gtk3, Qt4, Qt5, wxWidgets, Xfce themes to New port: x11-themes/xfce-evolution: Complete Xfce Evolution Gtk2, Gtk3, Qt4, Qt5, wxWidgets, Xfce themes.Nov 24 2017, 5:17 AM
x11-themes/xfce-evolution/Makefile
17

^maybe it would be a bit more compact to use the pkgname to depend on it instead of these long paths :)

x11-themes/xfce-evolution/Makefile
7–8
MASTER_SITES=        SF/${THEME:tW:tl:S/ /-/g}

Never use MASTER_SITE_SUBDIR.

yuri marked an inline comment as done.

.

yuri marked an inline comment as done.Nov 24 2017, 7:37 PM
yuri added inline comments.
x11-themes/xfce-evolution/Makefile
7–8

Updated.
Should MASTER_SITE_SUBDIR be renamed into _MASTER_SITE_SUBDIR then in Mk/?

17

How to do this?

For example, RUN_DEPENDS=gtk-murrine-engine:x11-themes/gtk-murrine-engine doesn't work.

yuri marked 3 inline comments as done.Nov 24 2017, 7:37 PM
x11-themes/xfce-evolution/Makefile
17

|Porters Handbook

A minimal version of a dependency can be specified in any *_DEPENDS except LIB_DEPENDS using this syntax:

p5-Spiffy>=0.26:devel/p5-Spiffy

The first field contains a dependent package name, which must match the entry in the package database, a comparison sign, and a package version. The > dependency is satisfied if p5-Spiffy-0.26 or newer is installed on the machine.

I grant you it's nicer to depend on a file, but these paths just look too long and subject o change :D

yuri marked an inline comment as done.Nov 24 2017, 7:48 PM
yuri added inline comments.
x11-themes/xfce-evolution/Makefile
17

This didn't occur to me fast enough. -)

yuri marked 2 inline comments as done.Nov 24 2017, 7:48 PM
x11-themes/xfce-evolution/Makefile
34

^out of curiousity. Have you checked whether they are really not requiring any bash features?

yuri marked an inline comment as done.Nov 24 2017, 7:54 PM
yuri added inline comments.
x11-themes/xfce-evolution/Makefile
34

-) Of course I did. They are all very simple and plain scripts.

yuri marked 2 inline comments as done.Nov 24 2017, 7:54 PM
x11-themes/xfce-evolution/Makefile
7
^ is this a joke? ^^
yuri marked an inline comment as done.Nov 24 2017, 8:38 PM
yuri added inline comments.
x11-themes/xfce-evolution/Makefile
7

No, it reuses the THEME variable.
Would you prefer to just type the text instead?

yuri marked 2 inline comments as done.Nov 24 2017, 8:38 PM
x11-themes/xfce-evolution/Makefile
7

well, the punchline is on line 3, isn't it?

x11-themes/xfce-evolution/Makefile
34

very good :)

Removed THEME: it was a bad idea.

yuri marked an inline comment as done.Nov 24 2017, 8:50 PM
yuri marked an inline comment as done.
In D13219#275779, @yuri wrote:

Removed THEME: it was a bad idea.

I wouldn't call it a bad idea :) just not ideally used

I wouldn't call it a bad idea :) just not ideally used

There're actually fewer lines without THEME, and it's easier to read. So it's better in this case IMO.

In D13219#275795, @yuri wrote:

I wouldn't call it a bad idea :) just not ideally used

There're actually fewer lines without THEME, and it's easier to read. So it's better in this case IMO.

Yes, I meant that playing around with variables is not bad per se :)

x11-themes/xfce-evolution/Makefile
29

^ I think you could come up with something nicer here
a) is it really important to get rid of the whitespaces?
b) you only want to replace the whitepsaces in "Xfce Theme <Foo>", so maybe iterate over the Foo's you want to install and do a ${COPYTREE_SHARE} "Xfce Theme ${FOO}" ${STAGEDIR}${PREFIX}/share/themes/Xfce-Theme-${FOO}"
or some valid variation thereof.

Which might look a bit cleaner.

yuri added inline comments.
x11-themes/xfce-evolution/Makefile
29

I simplified it. -)

x11-themes/xfce-evolution/Makefile
7

I am definitely laughing!

Is the subdir likely to change? If not, it's probably safe to hardcode it.

35

Just FYI, if you wanted to, you could also use shebangfix here, which is very precise about how it modifies files.

USES=shebangfix
SHEBANG_REGEX= 00.[0-4]0
bash_CMD=/bin/sh
yuri marked an inline comment as done.

Update.

Looks good to me now :) -- if @adamw is ok with the SHEBANG changes, go for it .

This revision is now accepted and ready to land.Nov 25 2017, 9:35 AM

Looks good to me now :) -- if @adamw is ok with the SHEBANG changes, go for it .

LGTM too!

This revision was automatically updated to reflect the committed changes.