[Bug 652971] Review Request: code-editor - A text/code editor based on Qt Creator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=652971

--- Comment #48 from Ilyes Gouta <ilyes.gouta@xxxxxxxxx> 2011-10-01 18:27:18 EDT ---
Hi Kevin, Michael,

Makes sense.

I updated my .spec so that:

%{?filter_setup:
%filter_provides_in code-editor/plugins
%filter_provides_in code-editor/lib[A-Z].*\.so.*
%filter_from_requires
/\(libAggregation\|libCPlusPlus\|libExtensionSystem\|libLanguageUtils\|libQtConcurrent\|libUtils\)\.so.*/d
%filter_from_requires
/\(libBinEditor\|libCore\|libCppEditor\|libCppTools\|libFakeVim\|libFind\|libLocator\|libTextEditor\)\.so.*/d
%filter_setup
}

provides are filtered so that irrelevant .so don't reach to rpmdeps -P
(pre-scan) and then for the requires, all the .so are retrieved from %BUILD%
and then the private libraries are fully specified and filtered out
(post-scan). This is tedious but should be safer since we also get the
dependencies for the shared libraries that we don't want to advertise.

$ cd rpmbuild/BUILD/code-editor

$ find . -name "*.so*" | /bin/grep -v  'code-editor/plugins' | /bin/grep -v 
'code-editor/lib[A-Z].*\.so.*' | while read FILE; do /usr/lib/rpm/rpmdeps -P
${FILE}; done | /bin/sort -u
(doesn't return anything)

$ find . -name "*.so*" | while read FILE; do /usr/lib/rpm/rpmdeps -R ${FILE};
done | /bin/sort -u  | /bin/sed -e
'/\(libAggregation\|libCPlusPlus\|libExtensionSystem\|libLanguageUtils\|libQtConcurrent\|libUtils\)\.so.*/d'
| /bin/sed -e
'/\(libBinEditor\|libCore\|libCppEditor\|libCppTools\|libFakeVim\|libFind\|libLocator\|libTextEditor\)\.so.*/d'
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libdl.so.2()(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libQtCore.so.4()(64bit)
libQtGui.so.4()(64bit)
libQtHelp.so.4()(64bit)
libQtNetwork.so.4()(64bit)
libQtScript.so.4()(64bit)
libQtSql.so.4()(64bit)
libQtXml.so.4()(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3.1)(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
rtld(GNU_HASH)

Is this OK?

-Ilyes

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]