Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions packages/c/cockatrice/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ libQt6Core.so.6:_Z5qHashRK4QUrlm
libQt6Core.so.6:_Z7qputenvPKc14QByteArrayView
libQt6Core.so.6:_Z9qBadAllocv
libQt6Core.so.6:_Z9qt_assertPKcS0_i
libQt6Core.so.6:_ZN10QArrayData10deallocateEPS_xx
libQt6Core.so.6:_ZN10QArrayData19reallocateUnalignedEPS_PvxxNS_16AllocationOptionE
libQt6Core.so.6:_ZN10QArrayData8allocateEPPS_xxxNS_16AllocationOptionE
libQt6Core.so.6:_ZN10QByteArray10fromBase64ERKS_6QFlagsINS_12Base64OptionEE
Expand All @@ -54,10 +55,10 @@ libQt6Core.so.6:_ZN10QJsonArrayD1Ev
libQt6Core.so.6:_ZN10QJsonArrayixEx
libQt6Core.so.6:_ZN10QJsonValueD1Ev
libQt6Core.so.6:_ZN11QBasicMutex12lockInternalEv
libQt6Core.so.6:_ZN11QBasicMutex14unlockInternalEv
libQt6Core.so.6:_ZN11QBasicMutex15destroyInternalEP13QMutexPrivate
libQt6Core.so.6:_ZN11QBasicMutex15destroyInternalEPv
libQt6Core.so.6:_ZN11QBasicMutex19unlockInternalFutexEPv
libQt6Core.so.6:_ZN11QBasicTimer4stopEv
libQt6Core.so.6:_ZN11QBasicTimer5startENSt6chrono8durationIlSt5ratioILl1ELl1000EEEEP7QObject
libQt6Core.so.6:_ZN11QBasicTimer5startENSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEN2Qt9TimerTypeEP7QObject
libQt6Core.so.6:_ZN11QDataStream11resetStatusEv
libQt6Core.so.6:_ZN11QDataStream9setStatusENS_6StatusE
libQt6Core.so.6:_ZN11QDataStreamlsEi
Expand Down Expand Up @@ -546,7 +547,7 @@ libQt6Core.so.6:_ZN9QUrlQueryC1Ev
libQt6Core.so.6:_ZN9QUrlQueryD1Ev
libQt6Core.so.6:_ZN9QtPrivate10startsWithE14QByteArrayViewS0_
libQt6Core.so.6:_ZN9QtPrivate11lastIndexOfE11QStringViewxDsN2Qt15CaseSensitivityE
libQt6Core.so.6:_ZN9QtPrivate12argToQStringE11QStringViewmPPKNS_7ArgBaseE
libQt6Core.so.6:_ZN9QtPrivate12argToQStringE14QAnyStringViewmPPKNS_7ArgBaseE
libQt6Core.so.6:_ZN9QtPrivate12equalStringsE11QStringViewS0_
libQt6Core.so.6:_ZN9QtPrivate12qustrcasechrE11QStringViewDs
libQt6Core.so.6:_ZN9QtPrivate13findByteArrayE14QByteArrayViewxS0_
Expand Down Expand Up @@ -583,7 +584,6 @@ libQt6Core.so.6:_ZN9QtPrivate52hasRegisteredConverterFunctionToPairVariantInterf
libQt6Core.so.6:_ZN9QtPrivate54hasRegisteredMutableViewFunctionToIterableMetaSequenceE9QMetaType
libQt6Core.so.6:_ZN9QtPrivate8endsWithE14QByteArrayViewS0_
libQt6Core.so.6:_ZN9QtPrivate8qustrchrE11QStringViewDs
libQt6Core.so.6:_ZNK10QByteArray11toStdStringB5cxx11Ev
libQt6Core.so.6:_ZNK10QByteArray5splitEc
libQt6Core.so.6:_ZNK10QByteArray5toHexEc
libQt6Core.so.6:_ZNK10QByteArray5toIntEPbi
Expand Down Expand Up @@ -717,7 +717,7 @@ libQt6Core.so.6:_ZNK4QDir4pathEv
libQt6Core.so.6:_ZNK4QDir5rmdirERK7QString
libQt6Core.so.6:_ZNK4QDir6existsERK7QString
libQt6Core.so.6:_ZNK4QDir6existsEv
libQt6Core.so.6:_ZNK4QDir6mkpathERK7QString
libQt6Core.so.6:_ZNK4QDir6mkpathERK7QStringSt8optionalI6QFlagsIN11QFileDevice10PermissionEEE
libQt6Core.so.6:_ZNK4QDir7dirNameEv
libQt6Core.so.6:_ZNK4QDir8filePathERK7QString
libQt6Core.so.6:_ZNK4QDir9entryListE6QFlagsINS_6FilterEES0_INS_8SortFlagEE
Expand Down Expand Up @@ -772,13 +772,10 @@ libQt6Core.so.6:_ZNK7QString10normalizedENS_17NormalizationFormEN5QChar14Unicode
libQt6Core.so.6:_ZNK7QString10startsWithE5QCharN2Qt15CaseSensitivityE
libQt6Core.so.6:_ZNK7QString10startsWithERKS_N2Qt15CaseSensitivityE
libQt6Core.so.6:_ZNK7QString11lastIndexOfERKS_xN2Qt15CaseSensitivityE
libQt6Core.so.6:_ZNK7QString11toStdStringB5cxx11Ev
libQt6Core.so.6:_ZNK7QString13toHtmlEscapedEv
libQt6Core.so.6:_ZNK7QString14rightJustifiedEx5QCharb
libQt6Core.so.6:_ZNK7QString18localeAwareCompareERKS_
libQt6Core.so.6:_ZNK7QString3argE5QChariS0_
libQt6Core.so.6:_ZNK7QString3argERKS_i5QChar
libQt6Core.so.6:_ZNK7QString3argExii5QChar
libQt6Core.so.6:_ZNK7QString3argEyii5QChar
libQt6Core.so.6:_ZNK7QString5countE5QCharN2Qt15CaseSensitivityE
libQt6Core.so.6:_ZNK7QString5splitE5QChar6QFlagsIN2Qt18SplitBehaviorFlagsEENS2_15CaseSensitivityE
libQt6Core.so.6:_ZNK7QString5splitERK18QRegularExpression6QFlagsIN2Qt18SplitBehaviorFlagsEE
Expand All @@ -788,6 +785,9 @@ libQt6Core.so.6:_ZNK7QString7indexOfERK18QRegularExpressionxP23QRegularExpressio
libQt6Core.so.6:_ZNK7QString7indexOfERKS_xN2Qt15CaseSensitivityE
libQt6Core.so.6:_ZNK7QString7sectionERKS_xx6QFlagsINS_11SectionFlagEE
libQt6Core.so.6:_ZNK7QString7toFloatEPb
libQt6Core.so.6:_ZNK7QString8arg_implE14QAnyStringViewi5QChar
libQt6Core.so.6:_ZNK7QString8arg_implExii5QChar
libQt6Core.so.6:_ZNK7QString8arg_implEyii5QChar
libQt6Core.so.6:_ZNK7QString8containsERK18QRegularExpressionP23QRegularExpressionMatch
libQt6Core.so.6:_ZNK7QString8endsWithERKS_N2Qt15CaseSensitivityE
libQt6Core.so.6:_ZNK7QString8repeatedEx
Expand All @@ -809,7 +809,6 @@ libQt6Core.so.6:_ZNK8QVariant6toSizeEv
libQt6Core.so.6:_ZNK8QVariant6toTimeEv
libQt6Core.so.6:_ZNK8QVariant6toUIntEPb
libQt6Core.so.6:_ZNK8QVariant7toPointEv
libQt6Core.so.6:_ZNK8QVariant8metaTypeEv
libQt6Core.so.6:_ZNK8QVariant8toStringEv
libQt6Core.so.6:_ZNK9QDateTime11toLocalTimeEv
libQt6Core.so.6:_ZNK9QDateTime16toSecsSinceEpochEv
Expand All @@ -836,7 +835,6 @@ libQt6Core.so.6:_ZNK9QFileInfo8filePathEv
libQt6Core.so.6:_ZNK9QFileInfo8fileTimeEN11QFileDevice8FileTimeE
libQt6Core.so.6:_ZNK9QIODevice11errorStringEv
libQt6Core.so.6:_ZNK9QIODevice6isOpenEv
libQt6Core.so.6:_ZNK9QMetaType7isValidEv
libQt6Core.so.6:_ZNK9QMimeData12retrieveDataERK7QString9QMetaType
libQt6Core.so.6:_ZNK9QMimeData9hasFormatERK7QString
libQt6Core.so.6:_ZNK9QSettings11childGroupsEv
Expand Down Expand Up @@ -997,6 +995,7 @@ libQt6Gui.so.6:_ZN6QBrushC1ERK9QGradient
libQt6Gui.so.6:_ZN6QBrushC1ERKS_
libQt6Gui.so.6:_ZN6QBrushC1Ev
libQt6Gui.so.6:_ZN6QBrushD1Ev
libQt6Gui.so.6:_ZN6QBrushaSE6QColor
libQt6Gui.so.6:_ZN6QBrushaSERKS_
libQt6Gui.so.6:_ZN6QColor10fromStringE14QAnyStringView
libQt6Gui.so.6:_ZN6QColor6setHsvEiiii
Expand Down Expand Up @@ -1074,6 +1073,7 @@ libQt6Gui.so.6:_ZN8QPainter8fillRectERK5QRectRK6QBrush
libQt6Gui.so.6:_ZN8QPainter8fillRectERK5QRectRK6QColor
libQt6Gui.so.6:_ZN8QPainter8fillRectERK6QRectFRK6QBrush
libQt6Gui.so.6:_ZN8QPainter8fillRectERK6QRectFRK6QColor
libQt6Gui.so.6:_ZN8QPainter8setBrushE6QColor
libQt6Gui.so.6:_ZN8QPainter8setBrushERK6QBrush
libQt6Gui.so.6:_ZN8QPainter9drawLinesEPK6QLineFi
libQt6Gui.so.6:_ZN8QPainter9drawRectsEPK5QRecti
Expand Down Expand Up @@ -2671,7 +2671,6 @@ libc.so.6:__stack_chk_fail
libc.so.6:__vfprintf_chk
libc.so.6:backtrace
libc.so.6:backtrace_symbols_fd
libc.so.6:free
libc.so.6:ispunct
libc.so.6:isspace
libc.so.6:memchr
Expand Down Expand Up @@ -2839,7 +2838,6 @@ libstdc++.so.6:_ZSt16__throw_bad_castv
libstdc++.so.6:_ZSt17__throw_bad_allocv
libstdc++.so.6:_ZSt17current_exceptionv
libstdc++.so.6:_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
libstdc++.so.6:_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base
libstdc++.so.6:_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
libstdc++.so.6:_ZSt19__throw_logic_errorPKc
libstdc++.so.6:_ZSt20__throw_length_errorPKc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ index b036b240..d38d14d0 100644
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
// set name of the app desktop file; used by wayland to load the window icon
- QGuiApplication::setDesktopFileName("cockatrice");
+ QGuiApplication::setDesktopFileName("io.github.Cockatrice");
+ QGuiApplication::setDesktopFileName("io.github.Cockatrice.cockatrice");
#endif

SettingsCache::instance().setClientID(generateClientID());
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>cockatrice</id>
<id>io.github.Cockatrice.cockatrice</id>
<name>Cockatrice</name>
<summary>Virtual tabletop for multiplayer card games</summary>
<developer_name>Cockatrice Project</developer_name>
<releases>
<release version="2.9.0" date="2023-09-14">
<description>
<p>Please go to our GitHub repository for all details about this release.</p>
</description>
<url>https://github.com/Cockatrice/Cockatrice/releases/latest</url>
</release>
</releases>
<content_rating type="oars-1.0">
<content_attribute id="social-chat">moderate</content_attribute>
</content_rating>
Expand Down Expand Up @@ -54,8 +46,8 @@
<url type="homepage">https://cockatrice.github.io</url>
<url type="translate">https://transifex.com/cockatrice/cockatrice</url>
<url type="vcs-browser">https://github.com/Cockatrice/Cockatrice</url>
<launchable type="desktop-id">io.github.Cockatrice.desktop</launchable>
<launchable type="desktop-id">io.github.Cockatrice.cockatrice.desktop</launchable>
<provides>
<id>io.github.Cockatrice</id>
<id>cockatrice.desktop</id>
</provides>
</component>
12 changes: 6 additions & 6 deletions packages/c/cockatrice/package.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# yaml-language-server: $schema=/usr/share/ypkg/schema/schema.json
name : cockatrice
version : 2.10.2
release : 25
release : 26
source :
- https://github.com/Cockatrice/Cockatrice/archive/refs/tags/2025-04-03-Release-2.10.2.tar.gz : 73cabec34604261b3ec2beb66b6a11faff0b0d1ca50f25cc58a45325a39225d4
homepage : https://cockatrice.github.io/
license : GPL-2.0-or-later
component : games.card
summary : A cross-platform virtual tabletop for multiplayer card games
component : games.card
description: |
Cockatrice is an open-source multiplatform software for playing card games, such as Magic: The Gathering, over a network. It is fully client-server based to prevent any kind of cheating, though it supports single-player games without a network interface as well
builddeps :
Expand All @@ -23,14 +23,14 @@ clang : true
optimize : thin-lto
setup : |
%patch -p1 -i $pkgfiles/0001-Update-Wayland-appId-to-match-desktop-rename.patch

%cmake_ninja -DWITH_SERVER=1
build : |
%ninja_build
install : |
%ninja_install
%install_license LICENSE

# appstream data
install -Dm00644 $pkgfiles/io.github.Cockatrice.appdata.xml $installdir/usr/share/metainfo/io.github.Cockatrice.appdata.xml
# Install metadata
install -Dm00644 $pkgfiles/io.github.Cockatrice.cockatrice.metainfo.xml $installdir/usr/share/metainfo/io.github.Cockatrice.cockatrice.metainfo.xml
# rename desktop file to match appstream desktop-id
mv $installdir/usr/share/applications/{cockatrice,io.github.Cockatrice}.desktop
mv $installdir/usr/share/applications/{cockatrice,io.github.Cockatrice.cockatrice}.desktop
17 changes: 9 additions & 8 deletions packages/c/cockatrice/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<Name>cockatrice</Name>
<Homepage>https://cockatrice.github.io/</Homepage>
<Packager>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
<Name>Jared Cervantes</Name>
<Email>jared@jaredcervantes.com</Email>
</Packager>
<License>GPL-2.0-or-later</License>
<PartOf>games.card</PartOf>
Expand All @@ -24,7 +24,7 @@
<Path fileType="executable">/usr/bin/dbconverter</Path>
<Path fileType="executable">/usr/bin/oracle</Path>
<Path fileType="executable">/usr/bin/servatrice</Path>
<Path fileType="data">/usr/share/applications/io.github.Cockatrice.desktop</Path>
<Path fileType="data">/usr/share/applications/io.github.Cockatrice.cockatrice.desktop</Path>
<Path fileType="data">/usr/share/applications/oracle.desktop</Path>
<Path fileType="data">/usr/share/applications/servatrice.desktop</Path>
<Path fileType="data">/usr/share/cockatrice/sounds/Default/attack_step.wav</Path>
Expand Down Expand Up @@ -89,7 +89,8 @@
<Path fileType="data">/usr/share/icons/hicolor/scalable/apps/cockatrice.svg</Path>
<Path fileType="data">/usr/share/icons/hicolor/scalable/apps/oracle.svg</Path>
<Path fileType="data">/usr/share/icons/hicolor/scalable/apps/servatrice.svg</Path>
<Path fileType="data">/usr/share/metainfo/io.github.Cockatrice.appdata.xml</Path>
<Path fileType="data">/usr/share/licenses/cockatrice/LICENSE</Path>
<Path fileType="data">/usr/share/metainfo/io.github.Cockatrice.cockatrice.metainfo.xml</Path>
<Path fileType="data">/usr/share/oracle/translations/oracle_cs.qm</Path>
<Path fileType="data">/usr/share/oracle/translations/oracle_de.qm</Path>
<Path fileType="data">/usr/share/oracle/translations/oracle_el.qm</Path>
Expand Down Expand Up @@ -119,12 +120,12 @@
</Files>
</Package>
<History>
<Update release="25">
<Date>2025-04-10</Date>
<Update release="26">
<Date>2026-02-12</Date>
<Version>2.10.2</Version>
<Comment>Packaging update</Comment>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
<Name>Jared Cervantes</Name>
<Email>jared@jaredcervantes.com</Email>
</Update>
</History>
</PISI>