Image 01
profile-image

mariobl

Mario Blättermann , Germany
NetMauMau

Card by HeikoSchfer 19 comments

OK, I will wait for the next release. Anyway, the package is still far from being releasable officially for review. There are still some unanswered questions (mostly regarding the packaging guidelines for Fedora):

Should I start the server at boot time via systemd? Actually it is not needed, because a local game server can be started using the GUI. Currently the server package is monolithic, maxbe I will split it into the libs needed for the client and the server itself. This way nobody is forced to install the server, if only network games are intended.

Due to a change in the next Fedora release, we need an *.appdata file, see http://people.freedesktop.org/~hughsient/appdata/. I will write one and post it here.

I'm still missing some basic docs for nmm-qt-client, at least a README file and installation instructions.

Once the packages are ready for the users, I will provide them in a Copr repo (similar to Ubuntu's PPAs). - Feb 06 2015
NetMauMau

Card by HeikoSchfer 19 comments

Now it works. I create the qm file with

lrelease-qt4 -nounfinished nmm_qt_client_de_DE.ts \
-qm nmm_qt_client_de_DE.qm

and install it:

mkdir -p %{buildroot}%{_datadir}/%{name}
install -p -m 644 nmm_qt_client_de_DE.qm %{buildroot}%{_datadir}/%{name}

After restarting nmm-qt-client, I see the UI in German. - Feb 06 2015
NetMauMau

Card by HeikoSchfer 19 comments

> Isn't it possible, like on Gentoo & Debian, to
> call lrelease from the spec and to add the *.qm
> manually?

Yes, it is. I will do so. - Feb 06 2015
NetMauMau

Card by HeikoSchfer 19 comments

OK, I've changed the appropriate line to:

%{qmake_qt4} CONFIG+=release src.pro

The %{qmake_qt4} macro expands to:

$ rpm --eval %{qmake_qt4}

/usr/lib64/qt4/bin/qmake \
QMAKE_CFLAGS_DEBUG="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic}" \
QMAKE_CFLAGS_RELEASE="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic}" \
QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic}" \
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic}" \
QMAKE_LFLAGS_DEBUG="${LDFLAGS:--Wl,-z,relro }" \
QMAKE_LFLAGS_RELEASE="${LDFLAGS:--Wl,-z,relro }" \
QMAKE_STRIP=

Same files in the package:

$ tree
.
└── usr
├── bin
│   └── nmm-qt-client
└── share
├── applications
│   └── nmm_qt_client.desktop
├── icons
│   └── hicolor
│   └── 256x256
│   └── apps
│   └── nmm_qt_client.png
└── licenses
└── nmm-qt-client
└── COPYING - Feb 06 2015
NetMauMau

Card by HeikoSchfer 19 comments

lrelease is present:

$ rpm -ql qt-devel | grep release
/usr/bin/lrelease-qt4
/usr/lib64/qt4/bin/lrelease
/usr/lib64/qt4/bin/lrelease-qt4
/usr/lib64/qt4/mkspecs/features/debug_and_release.prf
/usr/lib64/qt4/mkspecs/features/release.prf
/usr/lib64/qt4/mkspecs/features/symbian/release.prf

The relevant part of the rpm output:

Ausführung(%install): /bin/sh -e /var/tmp/rpm-tmp.Mu92ys
+ umask 022
+ cd /home/mariobl/rpmbuild/BUILD
+ '[' /home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64 '!=' / ']'
+ rm -rf /home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64
++ dirname /home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64
+ mkdir -p /home/mariobl/rpmbuild/BUILDROOT
+ mkdir /home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64
+ cd nmm-qt-client0.12
+ make install INSTALL_ROOT=/home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64
make -f Makefile.Release install
make[1]: Entering directory '/home/mariobl/rpmbuild/BUILD/nmm-qt-client0.12'
install -m 644 -p /home/mariobl/rpmbuild/BUILD/nmm-qt-client0.12/nmm_qt_client.desktop /home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64/usr/share/applications/
install -m 644 -p /home/mariobl/rpmbuild/BUILD/nmm-qt-client0.12/nmm_qt_client.png /home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64/usr/share/icons/hicolor/256x256/apps/
install -m 755 -p "nmm-qt-client" "/home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64/usr/bin/nmm-qt-client"
make[1]: Leaving directory '/home/mariobl/rpmbuild/BUILD/nmm-qt-client0.12'
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /home/mariobl/rpmbuild/BUILD/nmm-qt-client0.12
extracting debug info from /home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64/usr/bin/nmm-qt-client
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
4386 blocks

Here is the Makefile generated by qmake:
https://mariobl.fedorapeople.org/attachments/Makefile - Feb 06 2015
NetMauMau

Card by HeikoSchfer 19 comments

OK, it installs now the following files:
/usr/bin/nmm-qt-client
/usr/share/applications/nmm_qt_client.desktop
/usr/share/icons/hicolor/256x256/apps/nmm_qt_client.png

I'm still missing the *.qm file with the German translation and eventually some other files which are usually installed in /usr/share (internally used icons, *.ui files etc.).

However, the package builds, is installable and the application can be launched. I will test the behavior and give feedback. - Feb 05 2015
NetMauMau

Card by HeikoSchfer 19 comments

Well, I was able to install and run the game server, but while compiling the nmm-qt-client sources, I cannot use "make install". I can launch the binary from the build directory (in English only, the German translation is not in use this way), but this is not useful at all, because I like to build a RPM package for Fedora.

I use "make install INSTALL_ROOT=%{buildroot}", which expands to "make install INSTALL_ROOT=/home/mariobl/rpmbuild/BUILDROOT/nmm-qt-client-0.12-1.fc21.x86_64". I get the following:

make -f Makefile.Release install
make[1]: Entering directory '/home/mariobl/rpmbuild/BUILD/nmm-qt-client0.12'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/mariobl/rpmbuild/BUILD/nmm-qt-client0.12'

How can I get this working? - Feb 05 2015
Knapsen

Card by Dgzt 6 comments

I've written a German translation for Knapsen, the file is available from here:
http://mariobl.fedorapeople.org/Translations/knapsen-de.po
Please consider to ship it with the next release.

Moreover, there are no instructions how to create a new translation template. The usual »intltool-update --pot« doesn't work due to a missing POTFILES.in. Please add such instructions soon. It is somewhat strange to use the Hungarian translation and remove the strings. And I don't know if the current translation reflect all the translatable strings in the source code. - Feb 20 2014
Aldabra

GTK3/4 Themes by ceramicm 121 comments

Note: Before you install the official Fedora package, you have to uninstall my (temporary) package first. Otherwise you could end up in a package conflict, which can't be resolved by yum. - Jun 21 2011
Aldabra

GTK3/4 Themes by ceramicm 121 comments

An official RPM package for Fedora 15 is currently under review:

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

Stay tuned, it will be available soon from your package manager. - Jun 21 2011
Aldabra

GTK3/4 Themes by ceramicm 121 comments

New package v0.7.4 is downloadable from here:
http://mariobl.fedorapeople.org/Packages/Fedora_15/RPMS/noarch/gnome-theme-aldabra-0.7.4-1.fc15.noarch.rpm - Jun 08 2011
Aldabra

GTK3/4 Themes by ceramicm 121 comments

I've just filed a bug against the gnome-themes-standard-module in GNOME Bugzilla. Perhaps they can reuse your work to make the Adwaita gtk2 part better.

https://bugzilla.gnome.org/show_bug.cgi?id=651860 - Jun 04 2011
Aldabra

GTK3/4 Themes by ceramicm 121 comments

Hm, BBCode seems to be broken... Here the link again:

http://mariobl.fedorapeople.org/Packages/Fedora_15/RPMS/noarch/gnome-theme-aldabra-0.7.3-1.fc15.noarch.rpm - Jun 03 2011
Aldabra

GTK3/4 Themes by ceramicm 121 comments

I've just build a package for Fedora 15. It is available from [url=http://mariobl.fedorapeople.org/Packages/Fedora_15/RPMS/noarch/gnome-theme-aldabra-0.7.3-1.fc15.noarch.rpm]here[/url]. - Jun 03 2011
Aldabra

GTK3/4 Themes by ceramicm 121 comments

gnome-tweak-tool can set the theme for gtk2 if there are subfolders for both gtk2 and gtk3 in the theme folder.

BTW, the theme works fine for me, it's a long awaited way to get old and new gtk apps in a similar (or even identical) appearance. Many thanks for your work! - Jun 03 2011
Mandriva Icons

Icon Sub-Sets by edwinpitanga 3 comments

Many thanks! Much better than the odd yellow star. In general, I don't like the Mandriva design. In my mind, the ia_ora themes are as ugly as the Galaxy ones from the ancients. But these icons are looking really great! - Dec 12 2009