MantisBT - Doomseeker
View Issue Details
0003310Doomseeker[All Projects] Cleanuppublic2017-10-22 23:052020-06-05 07:41
WubTheCaptain 
 
lowtweakN/A
closedsuspended 
1.1 
 
0003310: qt-json dependency is duplicated to different files, deduplicate it
qt-json (aka Eeli Reilin's JSON library) has code duplication in the Doomseeker source distribution: Once for Doomseeker, and another time for Wadseeker.

I suggest this to be convenience copy to be deduplicated under dependencies directory.
$ diff -s src/core/json.cpp src/wadseeker/protocols/json.cpp
Files src/core/json.cpp and src/wadseeker/protocols/json.cpp are identical
$ diff -s src/core/json.h src/wadseeker/protocols/json.h
Files src/core/json.h and src/wadseeker/protocols/json.h are identical
No tags attached.
related to 0003238closed  Split Doomseeker's build dependencies off source archive distribution, distribute seperately 
related to 0003796closed WubTheCaptain qt-json dependency is duplicated to different files (2nd report) 
child of 0003246acknowledged  Debian packaging 
Issue History
2017-10-22 23:05WubTheCaptainNew Issue
2017-10-22 23:05WubTheCaptainSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11185#r11185
2017-10-22 23:05WubTheCaptainRelationship addedchild of 0003246
2017-10-22 23:13WubTheCaptainNote Added: 0018614
2017-10-22 23:21WubTheCaptainSummaryqt-json dependency is duplicated to different files => qt-json dependency is duplicated to different files, deduplicate it
2017-10-25 00:32WubTheCaptainRelationship addedrelated to 0003238
2017-11-04 09:21ZalewaNote Added: 0018762
2017-11-04 15:54WubTheCaptainNote Added: 0018770
2017-11-04 15:54WubTheCaptainStatusnew => closed
2017-11-04 15:54WubTheCaptainAssigned To => WubTheCaptain
2017-11-04 15:54WubTheCaptainResolutionopen => suspended
2017-11-04 15:56WubTheCaptainAssigned ToWubTheCaptain =>
2020-06-05 07:34WubTheCaptainCategorySuggestion => Cleanup
2020-06-05 07:41WubTheCaptainRelationship addedrelated to 0003796

Notes
(0018614)
WubTheCaptain   
2017-10-22 23:13   
I gave this a little bit of more thought, and it may be harder to do. Ideally, it'd be a system library to package.
(0018762)
Zalewa   
2017-11-04 09:21   
These files are never touched because the standard they implement is complete and finite. These files are necessary to build Wadseeker and Doomseeker. If these files were to be moved out of Wadseeker source directory, building a valid Wadseeker source tarball would be that much harder. I also don't want to expose this as WADSEEKER_API because providing JSON features is not the goal of Wadseeker. For this reasons I'm inclined against making any changes.
(0018770)
WubTheCaptain   
2017-11-04 15:54   
I thought so too. Ideally it'd be a dependency to install and build seperately, choosing to use system library when available.

I'll close this now and think later how to better handle this specific issue for Debian packaging.