Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #38 from velurimithun/Packaging
Browse files Browse the repository at this point in the history
Packaging: Add necessary files
  • Loading branch information
jlHertel authored Sep 6, 2018
2 parents 319badc + 40cc752 commit 448f288
Show file tree
Hide file tree
Showing 8 changed files with 278 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
.flatpak-builder/
cmake-build-debug/
cmake-build-release/
resources.c
resources.c
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ if(OpenGL_GLX_FOUND)
endif()
target_link_libraries(runUnitTests ${DRM_LIBRARIES})
target_link_libraries(runUnitTests ${PCILIB_LIBRARIES})

install(TARGETS adriconf DESTINATION bin)
Binary file added flatpak/Screenshot0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added flatpak/Screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions flatpak/org.x.adriconf.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.x.adriconf</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>LGPL-3.0+ AND GPL-3.0+</project_license>
<name>adriconf</name>
<summary>Advanced DRI configurator</summary>
<description>
<p>adriconf (Advanced DRI CONFigurator) is a GUI tool used to configure open source graphics drivers. It works by setting options and writing them to the standard drirc file used by the Mesa drivers.</p>
<p>GUI Tool used to configure OpenGL drivers. You can use it to optimize game settings or even workaround issues with them</p>
</description>
<launchable type="desktop-id">org.x.adriconf.desktop</launchable>
<screenshots>
<screenshot type="default">
<image type="source">https://github.com/jlHertel/adriconf/blob/master/drilogo.jpg?raw=true</image>
</screenshot>
<screenshot type="default">
<image type="source">https://github.com/jlHertel/adriconf/blob/master/drilogo.jpg?raw=true</image>
</screenshot>
</screenshots>
<releases>
<release version="0.1-beta.1" date="2018-03-21">
<description>
<p>First oficial release of the software.</p>
<ul>
<li>This is still an alpha version and crashes are expected!</li>
</ul>
</description>
</release>
<release version="0.1-alpha" date="2018-04-04">
<description>
<ul>
<li>Don't build units tests by default</li>
<li>Fix installation of translations</li>
<li>Added more unit tests</li>
<li>Some cleanups to CMakeLists.txt to make it more readable</li>
</ul>
</description>
</release>
<release version="0.1" date="2018-04-10">
<description>
<p>First stable release</p>
</description>
</release>
<release version="1.1" date="2018-08-05" urgency="low">
<description>
<ul>
<li>Add shorcuts for the common action in the menu (save, quit, new app, etc..)</li>
<li>Fix build issues</li>
<ul>
<li>Properly link against GLVND-enabled systems</li>
<li>Make GTKmm mandatory</li>
<li>Make Boost.locale mandatory</li>
<li>Explicitly declare dependencies of glib-compile-resources</li>
</ul>
<li>Add various test cases</li>
<li>Properly handle closed-source drivers</li>
</ul>
</description>
</release>
</releases>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<url type="homepage">http://github.com/jlHertel</url>
<update_contact>[email protected]</update_contact>
<developer_name>Jean Hertel</developer_name>
</component>
9 changes: 9 additions & 0 deletions flatpak/org.x.adriconf.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=adriconf
GenericName=Advanced DRI Configurator
Comment=A GUI tool used to configure open source graphics drivers
Version=1.1
Exec=/app/bin/adriconf
Type=Application
Icon=org.x.adriconf.png
Categories=Graphics;HardwareSettings;GNOME;GTK
171 changes: 171 additions & 0 deletions flatpak/org.x.adriconf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"app-id": "org.x.adriconf",
"runtime": "org.freedesktop.Platform",
"runtime-version": "18.08",
"sdk": "org.freedesktop.Sdk",
"command": "adriconf",
"finish-args": [
"--socket=x11",
"--share=ipc",
"--device=dri",
"--talk-name=org.freedesktop.Dbus",
"--system-talk-name=org.freedesktop.Dbus",
"--filesystem=host"
],
"modules": [
{
"name": "GTest",
"buildsystem": "cmake",
"sources": [
{
"type": "archive",
"url": "http://archive.ubuntu.com/ubuntu/pool/universe/g/googletest/googletest_1.8.0.orig.tar.gz",
"md5": "16877098823401d1bf2ed7891d7dce36"
}
]
},
{
"name": "boost",
"buildsystem": "simple",
"sources": [
{
"type": "archive",
"url": "https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.bz2",
"md5": "7fbd1890f571051f2a209681d57d486a"
}
],
"build-commands": [
"./bootstrap.sh",
"./b2 install --prefix=/app --with-locale -j $FLATPAK_BUILDER_N_JOBS define=\"BOOST_SYSTEM_NO_DEPRECATED\" -sNO_BZIP2=1 cxxflags=-fPIC cflags=-fPIC"
]
},
{
"name": "sigc++",
"config-opts": [
"--disable-documentation"
],
"sources": [
{
"type": "archive",
"url": "https://ftp.acc.umu.se/pub/GNOME/sources/libsigc++/2.10/libsigc++-2.10.0.tar.xz",
"sha256": "f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81"
}
]
},
{
"name": "cairomm",
"sources": [
{
"type": "archive",
"url": "https://ftp.acc.umu.se/pub/GNOME/sources/cairomm/1.12/cairomm-1.12.0.tar.xz",
"sha256": "a54ada8394a86182525c0762e6f50db6b9212a2109280d13ec6a0b29bfd1afe6"
}
]
},
{
"name": "glibmm",
"sources": [
{
"type": "archive",
"url": "https://ftp.acc.umu.se/pub/GNOME/sources/glibmm/2.56/glibmm-2.56.0.tar.xz",
"sha256": "6e74fcba0d245451c58fc8a196e9d103789bc510e1eee1a9b1e816c5209e79a9"
}
]
},
{
"name": "pangomm",
"sources": [
{
"type": "archive",
"url": "https://ftp.acc.umu.se/pub/GNOME/sources/pangomm/2.40/pangomm-2.40.1.tar.xz",
"sha256": "9762ee2a2d5781be6797448d4dd2383ce14907159b30bc12bf6b08e7227be3af"
}
]
},
{
"name": "atkmm",
"sources": [
{
"type": "archive",
"url": "https://ftp.acc.umu.se/pub/GNOME/sources/atkmm/2.24/atkmm-2.24.2.tar.xz",
"sha256": "ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd"
}
]
},
{
"name": "graphene-gobject-1.0",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "http://archive.ubuntu.com/ubuntu/pool/main/g/graphene/graphene_1.8.0.orig.tar.gz",
"md5": "d0ee65f4bdd30a5db4fd8d2ac46cd8cc"
}
]
},
{
"name": "gtk+-4.0",
"sources": [
{
"type": "archive",
"url": "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gtk+4.0/3.90.0-0ubuntu2/gtk+4.0_3.90.0.orig.tar.xz",
"sha256": "7bb33b4101a4b3e51dc286000d61d1130575c3e7dee88656f4b43fc2a5a05b97"
}
]
},
{
"name": "gtkmm",
"sources": [
{
"type": "archive",
"url": "https://ftp.acc.umu.se/pub/GNOME/sources/gtkmm/3.22/gtkmm-3.22.2.tar.xz",
"sha256": "91afd98a31519536f5f397c2d79696e3d53143b80b75778521ca7b48cb280090"
}
]
},
{
"name": "libxml++-2.6",
"sources": [
{
"type": "archive",
"url": "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libxml++2.6/2.40.1-2/libxml++2.6_2.40.1.orig.tar.xz",
"sha256": "4ad4abdd3258874f61c2e2a41d08e9930677976d303653cd1670d3e9f35463e9"
}
]
},
{
"name": "libpci",
"sources": [
{
"type": "archive",
"url": "https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.6.2.tar.xz",
"md5": "77963796d1be4f451b83e6da28ba4f82"
}
],
"no-autogen": true,
"make-args": [
"SHARED=yes",
"PREFIX=/app",
"SHAREDIR=/app/share/hwdata"
],
"make-install-args": [
"SHARED=yes",
"PREFIX=/app",
"SHAREDIR=/app/share/hwdata",
"install-lib"
]
},
{
"name": "adriconf",
"buildsystem": "cmake",
"config-opts": "-DCMAKE_INSTALL_PREFIX:PATH=/app",
"sources": [
{
"type": "git",
"url": "https://github.com/velurimithun/adriconf/tree/Packaging",
"commit": "7450e57836ff84ec08bfe4e5797a06d7863e453f"
}
]
}
]
}
Binary file added flatpak/org.x.adriconf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 448f288

Please sign in to comment.