Bug 196750 - x11-themes/fluxbox-tenr-styles-pack: Update to 20100605
Summary: x11-themes/fluxbox-tenr-styles-pack: Update to 20100605
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Baptiste Daroussin
URL:
Keywords: needs-qa, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-01-15 09:43 UTC by lightside
Modified: 2016-12-24 17:39 UTC (History)
0 users

See Also:


Attachments
Proposed patch (since 372709 revision) (433.51 KB, patch)
2015-01-15 09:43 UTC, lightside
no flags Details | Diff
The poudriere testport log (FreeBSD 10 amd64) (5.96 KB, application/x-zip-compressed)
2015-01-15 09:44 UTC, lightside
no flags Details
Proposed patch (since 372709 revision) (433.52 KB, patch)
2015-01-15 10:18 UTC, lightside
no flags Details | Diff
Proposed patch (since 372709 revision) (433.54 KB, patch)
2015-01-15 10:37 UTC, lightside
no flags Details | Diff
The poudriere testport log (FreeBSD 10 amd64) (5.84 KB, application/x-zip-compressed)
2015-01-15 10:38 UTC, lightside
no flags Details
Proposed patch (since 372709 revision) (433.54 KB, patch)
2015-01-24 02:42 UTC, lightside
no flags Details | Diff
The poudriere testport log (FreeBSD 10 amd64) (5.85 KB, application/x-zip-compressed)
2015-01-24 02:42 UTC, lightside
no flags Details
New proposed patch (since 372709 revision) (364.86 KB, patch)
2015-01-24 02:47 UTC, lightside
no flags Details | Diff
The new poudriere testport log (FreeBSD 10 amd64) (3.19 KB, application/x-zip-compressed)
2015-01-24 02:48 UTC, lightside
no flags Details
New proposed patch (since 372709 revision) (364.87 KB, patch)
2015-01-24 03:41 UTC, lightside
no flags Details | Diff
New proposed patch (since 372709 revision) (364.86 KB, patch)
2015-01-24 04:09 UTC, lightside
no flags Details | Diff
New proposed patch (since 372709 revision) (365.04 KB, patch)
2015-01-24 09:07 UTC, lightside
no flags Details | Diff
The new poudriere testport log (FreeBSD 10 amd64) (14.85 KB, text/plain)
2015-01-24 09:08 UTC, lightside
no flags Details
New proposed patch (since 372709 revision) (365.02 KB, patch)
2015-01-24 11:06 UTC, lightside
no flags Details | Diff
The new poudriere testport log (FreeBSD 10 amd64) (14.82 KB, text/plain)
2015-01-24 11:07 UTC, lightside
no flags Details
New proposed patch (since 372709 revision) (365.04 KB, patch)
2015-01-25 00:15 UTC, lightside
no flags Details | Diff
New proposed patch (since 372709 revision) (365.02 KB, patch)
2015-01-25 08:17 UTC, lightside
no flags Details | Diff
The new poudriere testport log (FreeBSD 10 amd64) (14.82 KB, text/plain)
2015-01-25 08:17 UTC, lightside
no flags Details
New proposed patch (since 378468 revision) (342.80 KB, patch)
2015-02-05 19:26 UTC, lightside
no flags Details | Diff
The poudriere testport log (FreeBSD 10 amd64) (14.88 KB, text/plain)
2015-02-05 19:37 UTC, lightside
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lightside 2015-01-15 09:43:05 UTC
Created attachment 151664 [details]
Proposed patch (since 372709 revision)

Patch to update x11-themes/fluxbox-tenr-styles-pack port from 20071215 to 20150108 version.

- Add license information
- Remove USE_XORG=x11, because there is runtime dependency on x11-wm/fluxbox port
- Convert to dynamic plist
- Use individual styles from author's website, instead of archive of styles
- Add create-distfiles stage for maintenance purposes, which creates distfiles.mk file with DISTFILES, excluding styles, which exist for installed fluxbox version
- Change WWW for pkg-descr file
Comment 1 lightside 2015-01-15 09:44:08 UTC
Created attachment 151665 [details]
The poudriere testport log (FreeBSD 10 amd64)
Comment 2 lightside 2015-01-15 10:18:05 UTC
Created attachment 151666 [details]
Proposed patch (since 372709 revision)

Clarified regular expression of styles for grep.
Comment 3 lightside 2015-01-15 10:37:47 UTC
Created attachment 151667 [details]
Proposed patch (since 372709 revision)

- Add NO_ARCH=yes, because there are no architecture specific files
Comment 4 lightside 2015-01-15 10:38:15 UTC
Created attachment 151668 [details]
The poudriere testport log (FreeBSD 10 amd64)
Comment 5 lightside 2015-01-24 02:42:11 UTC
Created attachment 152075 [details]
Proposed patch (since 372709 revision)

The PORTVERSION changed to 20100605, because of latest changes date of styles files/directories
Comment 6 lightside 2015-01-24 02:42:42 UTC
Created attachment 152076 [details]
The poudriere testport log (FreeBSD 10 amd64)
Comment 7 lightside 2015-01-24 02:47:20 UTC
Created attachment 152077 [details]
New proposed patch (since 372709 revision)

I think, the proposed method to download distfiles need to be changed, because of possibility of changes for *.tar.bz2 distfile archives. Looks like, they are autogenerated with changes to directory date and theme.cfg files, which might lead to different checksums in case of this.

In the attachment you could find different method to download, based on one distfile, which needs to be created and hosted. The problem is with hosting of such distfile. Need someone who could host it.

The creation of distfile is automated, with the same checksum each time, if there are no changes to styles of nightly tarball (some unimportant (e.g. the ${WRKSRC}/License file and ${WRKSRC} directory dates) changes of which are fixed on creation time of distfile).

The full cycle of update looks like follows:
# make create-distfile
# make copy-distfile makesum

Then MASTER_SITES of Makefile need to be changed to hosting site.
Comment 8 lightside 2015-01-24 02:48:15 UTC
Created attachment 152078 [details]
The new poudriere testport log (FreeBSD 10 amd64)
Comment 9 lightside 2015-01-24 03:15:36 UTC
(In reply to comment #7)
> The full cycle of update looks like follows

Of course, need to determine the PORTVERSION, based on changed date of ${WRKSRC} directory, after "make create-distfile" command, then rerun it again with "make recreate-distfile" command, but I did it already. The distinfo in new proposed patch will be correct, if there are no changes to styles of nightly tarball, before it could be hosted with different version. Otherwise, the PORTVERSION need to be fixed also.
Comment 10 lightside 2015-01-24 03:41:29 UTC
Created attachment 152079 [details]
New proposed patch (since 372709 revision)

Added depends stage to create-distfile, because installed x11-wm/fluxbox port is needed to determine installed style directories, which needs to be removed from directories of created distfile.
Comment 11 lightside 2015-01-24 03:57:50 UTC
(In reply to comment #10)
> which needs to be removed from directories of created distfile.

which needs to be removed from extracted directories of fetched nightly tarball, if to be precise. This leads to the need of possible re-creation of such distfile, in case of new fluxbox version with styles from http://tenr.de/styles/ or styles with the same directories.
Comment 12 lightside 2015-01-24 04:09:35 UTC
Created attachment 152080 [details]
New proposed patch (since 372709 revision)

Changed WWW to http://tenr.de/styles/
Comment 13 lightside 2015-01-24 09:07:29 UTC
Created attachment 152082 [details]
New proposed patch (since 372709 revision)

(In reply to comment #11)
> This leads to the need of possible re-creation of such distfile, in case of new fluxbox version

Thinking about this, I moved determination of installed style directories to pre-install stage. Now it looks like this:
===>  Staging for fluxbox-tenr-styles-pack-20100605
===>   fluxbox-tenr-styles-pack-20100605 depends on executable: fluxbox - found
===>  List of excluded style directories, installed by fluxbox:
BlueFlux Emerge arch bloe bora_black bora_blue bora_green carp
green_tea ostrich zimek_bisque zimek_darkblue zimek_green

The distfile contains all styles from http://tenr.de/styles/ site, but it should be created and hosted somewhere to be used in ports. The nightly tarball repackaged to ${DISTNAME}${EXTRACT_SUFX} and ${DISTNAME} for root directory of archive is also good (or might be adapted), but it could have different checksum, because of auto-generated nature of some files/directories, - the create-distfile stage does it automatically, while retain the same checksum.

In case of new fluxbox version, the PORTREVISION of current port should be bumped, then the ports/package system will determine the differences in styles automatically.
Comment 14 lightside 2015-01-24 09:08:20 UTC
Created attachment 152083 [details]
The new poudriere testport log (FreeBSD 10 amd64)
Comment 15 lightside 2015-01-24 11:06:04 UTC
Created attachment 152087 [details]
New proposed patch (since 372709 revision)

Returned value of DISTNAME to "tenr.de-styles-${PORTVERSION}" for consistency purposes with previous version. This also returns some portlint warning about hypen in PORTNAME, which could be ignored. The distinfo is re-generated.

If someone has access to http://freebsd.unixfreunde.de/sources/fluxthemes/ directory it could upload created distfile, then MASTER_SITES might be returned also. Perhaps, this is Martin Wilke (miwi@), the creator of port (which is not active for ports, currently).
Comment 16 lightside 2015-01-24 11:07:14 UTC
Created attachment 152088 [details]
The new poudriere testport log (FreeBSD 10 amd64)
Comment 17 lightside 2015-01-24 21:24:48 UTC
There are following new styles (about 75) between 20071215 and 20100605 versions, if this matters:
aluminium apples arch ash aurora bali bead bloe blueworks bora_black
bora_blue bora_green bora_olive bora_royal cambridge_blood camo2
carbonit carbonium_blue carbonium_green carbonium_orange carbonium_pink
carbonium_red carbonium_yellow carp clumsy_blue cobalt colonel
copola cup cursed darkmatter decade edwin eliteforce finetti floyd
ginfizz grapes green_tea greenworks icicle icicle_open invisible
java kodak limish medicus mute myDEFCON_1 myDEFCON_2 myDEFCON_3
myDEFCON_4 myDEFCON_5 myDEFCON_6 needles observe ostrich post royal
seaside shiniesky sunburn sunflower sunlense tec technotron teriaki
titan trinity tron2 underwater winestein zimek_bisque zimek_darkblue
zimek_green

Some of them in fluxbox styles already. There are no deleted styles.
This is about 373 styles in total:
http://tenr.de/styles/allstyles.php

If someone could upload the generated distfile to http://distcache.FreeBSD.org/ports-distfiles/ or different "permanent" location, please say about it here. Also, I can post the link to generated distfile from temporary location to email, on request.
Comment 18 lightside 2015-01-25 00:15:30 UTC
Created attachment 152113 [details]
New proposed patch (since 372709 revision)

Ok, I managed to find a file hosting service with direct link to download. I set expiration status to "never", but if this will be the case, then the http://distcache.FreeBSD.org/ports-distfiles/ could be used after, as previous version, currently.

The proposed patch updated.
Comment 19 lightside 2015-01-25 08:17:21 UTC
Created attachment 152118 [details]
New proposed patch (since 372709 revision)

Added some fixes.
Comment 20 lightside 2015-01-25 08:17:46 UTC
Created attachment 152119 [details]
The new poudriere testport log (FreeBSD 10 amd64)
Comment 21 lightside 2015-02-05 19:26:12 UTC
Created attachment 152599 [details]
New proposed patch (since 378468 revision)

The patch updated, after ports r378468 changes.

- Changed "-j" option to "-a" for tar command to auto-detect archive method, based on file extension (EXTRACT_SUFX)
- Added showing of checksum, after creation of distfile, which is useful to check possible update
Comment 22 lightside 2015-02-05 19:37:18 UTC
Created attachment 152600 [details]
The poudriere testport log (FreeBSD 10 amd64)
Comment 23 lightside 2016-02-08 08:13:39 UTC
I guess, this PR should be closed because of no interest from other people (for over about a year).

On the other note, the "create-distfile" makefile's target is still works and gives the same contents (on message date), but with different size of archive, when using /usr/bin/tar from FreeBSD 10.2 compared to 10, therefore different distinfo file may be created. The chosen file service provider (i.e. MASTER_SITES) doesn't work at the time of writing, which may create a need to use mentioned "create-distinfo" target and host distfile on other place.
Comment 24 lightside 2016-12-24 17:39:46 UTC
This PR was closed.