[Bug 197752] [PATCH] graphics/xournal: Update to 0.4.8

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 24 02:08:10 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197752

Kalten <kalten at gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #153093|0                           |1
        is obsolete|                            |
 Attachment #153093|maintainer-approval?(me at jan |
              Flags|h.de)                       |
 Attachment #153094|0                           |1
        is obsolete|                            |
 Attachment #153127|0                           |1
        is obsolete|                            |

--- Comment #5 from Kalten <kalten at gmx.at> ---
Created attachment 153411
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153411&action=edit
graphics/xournal from r378348 to latest version 0.4.8  {v2}

> I will probably not be able to test the patch myself very soon.                                                                                                                             
I did not have time to do it earlier either ;-)                                 

> As you make another attempt to introduce %%DATADIR%% into pkg-plist,                                                                                                                        
> did you compile and run time test it with a non-default value?                                                                                                                              
After some very long search I do assume that you mean                           
»poudriere testport -j 101amd64 -o graphics/xournal -v -v -P«                   

> The last few people trying to make the earlier versions of Xournal DATADIR-safe                                                                                                             
> all gave up (crees, mva, and me). Does the new version fix DATADIR-usage? If the                                                                                                            
> port is not DATADIR-safe, %%DATADIR%% must not be used in pkg-plist (from my                                                                                                                
> understanding).                                                                                                                                                                             
Well: using that mechanism we do have errors using the original patch in        
Attachment 153093 exactly as you had feared.                                    

I have altered some more lines (see this Attachment (with “{v2}” attached to
its                                                                             
name) replacing the old one) and after many hours of work (as I had to find out 
much) There remains one problem.  (pkg-plist seems to be in order now, but that 
one directory!—see below)                                                       

»poudriere testport -j 101amd64 -o graphics/xournal -v -v -P«                   
states at the end: (full log will follow shortly)                               
---8<---                                                                        
>> […]                                                                                                                                                                                        
>> [101amd64-default] [1/1] Deinstalling xournal-0.4.8...                                                                                                                                     
>> [101amd64-default] [1/1] Deleting files for xournal-0.4.8... done                                                                                                                          
>> Directory '/prefix/xournal-0.4.8/share/mime/packages' does not exist!                                                                                                                      
>> ===========================================================================                                                                                                                
>> ====>> Checking for extra files and directories                                                                                                                                            
>> ====>> Error: Files or directories left over:                                                                                                                                              
>> @dir /prefix                                                                                                                                                                               
>> ====>> This test was done with PREFIX!=LOCALBASE which may show failures                                                                                                                   
>> if the port does not respect PREFIX. Try testport with -n to use                                                                                                                           
>> PREFIX=LOCALBASE                                                                                                                                                                           
>> [00:02:29] ====>> Saved xournal-0.4.8 wrkdir to:                                                                                                                                           
>> /usr/local/poudriere/data/wrkdirs/101amd64-default/default/xournal-0.4.8.tbz                                                                                                               
>> build of graphics/xournal ended at Tue Feb 24 00:06:44 UTC 2015                                                                                                                            
>> build time: 00:01:52                                                                                                                                                                       
>> !!! build failure encountered !!!                                                                                                                                                          
>> [00:02:29] ====>> Error: Build failed in phase: leftovers                                                                                                                                  
>> […]                                                                                                                                                                                        
--->8---                                                                        

The essential lines seem to be:                                                 
---8<---                                                                        
>> Directory '/prefix/xournal-0.4.8/share/mime/packages' does not exist!                                                                                                                      
>> ===========================================================================                                                                                                                
>> ====>> Checking for extra files and directories                                                                                                                                            
>> ====>> Error: Files or directories left over:                                                                                                                                              
>> @dir /prefix                                                                                                                                                                               
--->8---                                                                        

There were still some issues (files/patch-Makefile.in has been extended and     
pkg-plist altered in comparison to my first patch) but I have lost my nerves    
over this problem with that directory where the file mime/packages/xournal.xml  
is installed into—its situation is quite similar to that of the file            
applications/xournal.desktop yet the latter works like a charm.                 

> If the DATADIR-safety is tested and the submitter and committer both think the                                                                                                              
> change is correct, I have no problem with the patch being committed without me                                                                                                              
> testing it.                                                                                                                                                                                 
Well: this as said: that single problem remains!                                

May be you know how to fix it :-)                                               


»portlint -AC« says: (same as last time—see Comment 0 please)                   
---8<---                                                                        
WARN: Makefile: [74]: use ${VARIABLE}, instead of $(VARIABLE).                  
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section             
empty, to make SVN happy.                                                       
0 fatal errors and 2 warnings found.                                            
--->(---                                                                        

The output of                                                                   
 »setenv DEVELOPER yes; make clean; make stage && make check-plist &&           
make stage-qa && make package«                                                  
as well as                                                                      
 »poudriere testport -j 101amd64 -o graphics/xournal -v -v -P«                  
will follow shortly.                                                            

Regards,                                                                        
 Kalten

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list