User forums > General (but related to Code::Blocks)
F30: update to nightly from Jen's fails on dependency
AZ:
--- Code: ---rpmbuild -bs ./codeblocks.spec && mock --short-circuit=install -n -N -r fedora-30-x86_64 --rebuild codeblocks-17.12.svn.11925-1.fc30.src.rpm
mock --shell
find / -name 16x16
<cut off for sanity>
...
/builddir/build/BUILD/codeblocks-17.12svn/trunk/src/plugins/codecompletion/resources/images/16x16
/builddir/build/BUILD/codeblocks-17.12svn/trunk/src/src/resources/images/infopane/16x16
/builddir/build/BUILD/codeblocks-17.12svn/trunk/src/src/resources/images/16x16
/builddir/build/BUILD/codeblocks-17.12svn/trunk/src/src/resources/images/tree/16x16
/builddir/build/BUILD/codeblocks-17.12svn/trunk/src/sdk/resources/images/16x16
/builddir/build/BUILDROOT/codeblocks-17.12.svn.11925-1.fc30.x86_64/usr/share/codeblocks/SpellChecker/16x16
/usr/share/icons/Adwaita/16x16
/usr/share/icons/hicolor/16x16
--- End code ---
whereas :
--- Code: ---root@dell5000 result]# repoquery -l codeblocks | grep 16x16
Last metadata expiration check: 0:08:03 ago on Fri 29 Nov 2019 02:38:34 PM EST.
/usr/share/codeblocks/images/16x16
/usr/share/codeblocks/images/16x16/bookmark_add.png
/usr/share/codeblocks/images/16x16/dbginfo.png
/usr/share/codeblocks/images/16x16/dbgnext.png
/usr/share/codeblocks/images/16x16/dbgnexti.png
/usr/share/codeblocks/images/16x16/dbgpause.png
/usr/share/codeblocks/images/16x16/dbgrun.png
<cut here for sanity>
--- End code ---
appears the "make install" based off the .spec (codeblocks.spec.fedora.in from svn 11925 ) doesn't handle images directory ?
side question:
in .spec :
--- Code: ---global svnrev @REVISION@
--- End code ---
what/how/why @REVISION@ is defined?
oBFusCATed:
codeblocks.spec.fedora.in is not something you should use directly. It is modified by the configure script and it is turned in to codeblocks.spec.fedora in your build folder. This file could be used for making an rpm. The spec file for rhel/centos works fine, so you could compare it and see if there are important differences.
AZ:
> The spec file for rhel/centos..
where do i find it?
--- Code: ---<mock-chroot> sh-5.0# find /builddir/ -name *.spec*
/builddir/build/SPECS/codeblocks.spec
/builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec.in
/builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec.fedora.in
/builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec.fedora
/builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec
<mock-chroot> sh-5.0#
<mock-chroot> sh-5.0# diff /builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec /builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec.in
1c1
< %define _svnrev 0
---
> %define _svnrev @REVISION@
64c64
< Source: %{name}-17.12svn0.tar.bz2
---
> Source: %{name}-@VERSION@.tar.bz2
224c224
< %setup -q -n codeblocks-17.12svn0
---
> %setup -q -n codeblocks-@VERSION@
<mock-chroot> sh-5.0# diff /builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec.fedora.in /builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec.fedora |more
1c1
< %global svnrev @REVISION@
---
> %global svnrev 0
9c9
< Source0: %{name}-@VERSION@.tar.bz2
---
> Source0: %{name}-17.12svn0.tar.bz2
93c93
< %setup -q -n %{name}-@VERSION@
---
> %setup -q -n %{name}-17.12svn0
<mock-chroot> sh-5.0# diff /builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec /builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec.fedora | more
1,8c1
< %define _svnrev 0
< %define req_wxgtk 2.8.0
< %define _redhat %(if [ -f /etc/redhat-release ]; then echo 1; else echo 0; fi)
< %define _mandrake %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)
< %define _version 17.12.svn.%{_svnrev}
< %define _rel 1
< %define _release %{_rel}
< %define jobs %(if [ -e /usr/bin/getconf ]; then echo $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 )); else echo 1; fi)
---
> %global svnrev 0
10,16c3,19
< %if 0%{?suse_version}
< %define _release %{_rel}.suse%{suse_version}
< %endif
< %if 0%{?mandriva_version}
< %define _release %{_rel}.mdk%{mandrake_version}
< %define _redhat 0
< %endif
---
<removed for sanity>
<mock-chroot> sh-5.0# diff /builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec /builddir/build/BUILD/codeblocks-17.12.svn/trunk/codeblocks.spec.fedora | grep 16x16
<nothing found>
--- End code ---
the images/16x16 are not in the codeblocks.spec.fedora either.
Nov 30th: added the screenshot of the CB running with 3.0.4. Those icons are rather small. Not sure if there is an option to change the sizes.
oBFusCATed:
What is your DPI are you running any scaling? gtk2 or gtk3?
The spec file without fedora in the name is the generic one which works fine on centos/rhel.
AZ:
--- Quote from: oBFusCATed on November 30, 2019, 11:31:25 pm ---What is your DPI are you running any scaling? gtk2 or gtk3?
The spec file without fedora in the name is the generic one which works fine on centos/rhel.
--- End quote ---
1600x900, XFCE. I don't think I have any scaling available or enabled.
wxGTK3-i18n-3.0.4-8.fc30.noarch
compat-wxGTK3-gtk2-3.0.4-8.fc30.x86_64
as far as the "images" goes, there is no difference in the codeblocks.spec and codeblocks.spec.fedora :
--- Code: ---<mock-chroot> sh-5.0# grep images codeblocks.spec
%{pkgdatadir}/images/*.png
%{pkgdatadir}/images/settings/*
%{pkgdatadir}/images/codesnippets/*
%{pkgdatadir}/images/wxsmith/*
<mock-chroot> sh-5.0# grep images codeblocks.spec.fedora
%dir %{pkgdatadir}/images
%{pkgdatadir}/images/*.png
%{pkgdatadir}/images/settings
%{pkgdatadir}/images/codesnippets
%{pkgdatadir}/images/wxsmith
--- End code ---
at the same time the rpmfor svn 11427 has the /usr/share/codeblocks/images/16x16:
--- Code: ---repoquery -l codeblocks-0:17.12.svn.11417-1.fc29.x86_64 | grep 16x16
Last metadata expiration check: 0:37:44 ago on Sat 30 Nov 2019 10:22:35 PM EST.
/usr/share/codeblocks/images/16x16
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version