[Xfce4-commits] CVS: xfce4/xfwm4-themes/themes/gorilla Makefile.am, 1.3, 1.4 Makefile.in, 1.7, 1.8

Moritz Heiber moe at xfce.org
Sat Apr 24 23:32:37 CEST 2004


Olivier Fourdan wrote:
> Hi Benny,
> 
> Ok for pax... I'm committing.
> 
> Thaks for suggesting pax, I completely forgot about it, it indeed makes
> things a lot simpler :)
> 
> Cheers,
> Olivier.
> 
> On Sat, 2004-04-24 at 12:15, Benedikt Meurer wrote:
> 
>>Olivier,
>>
>>
>>> install-themeDATA:
>>>-	rm -Rf $(DESTDIR)$(themedir); \
>>>-	$(mkinstalldirs) $(DESTDIR)$(themedir); \
>>>-	tar cf - $(theme_DATA) | ( cd $(DESTDIR)$(themedir) ; tar xf - ); \
>>>-	if test `id -u` = "0"; then \
>>>-	    chown root:root $(DESTDIR)$(themedir); \
>>>-	    chown root:root $(DESTDIR)$(themedir)/*; \
>>>-	fi; \
>>>-	chmod 755 $(DESTDIR)$(themedir); \
>>>-	chmod 644 $(DESTDIR)$(themedir)/*
>>>+	rm -Rf $(DESTDIR)$(themedir); 					\
>>>+	$(mkinstalldirs) $(DESTDIR)$(themedir); 			\
>>>+	tar cf - $(theme_DATA) | (cd $(DESTDIR)$(themedir) ; tar xf - --no-same-owner)
>>
>>Please revert this change, since it breaks w/ nearly every system, except 
>>those where tar is gtar. So, please, either use gtar or don't use GNU tar options.
>>
>>BTW: How about the POSIX.2 way of doing things?
>>
>>	pax -rw $(theme_DATA) $(DESTDIR)$(themedir)
>>
>>This is simpler, tho some systems still don't ship pax. But I think every 
>>system that Xfce runs on is somewhat POSIX.2 compliant.

With all due respect, but I don't see a single reason for introducing an 
absolutely useless dependency on a tool that has just been written 
because some BSD guys thought they'd better stay away from GNU tar 
developement.

As for Lunar Linux and many other distributions there is no 'pax' 
module/application yet but there is tar on almost any box I can imagine. 
I'd really like to see that 'pax' requirement to be removed to make 
future Xfce packages are going to work out on _any_ system they are 
installed on.

Regards,

Moritz



More information about the Xfce4-dev mailing list