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

Bug#1006001: Qtcreator devel files



Hi all!!

I have investigated a bit, but I need your experience. Using the salsa repo of qtcreator, I have added in control a new package:


----------------------------------------------
diff --git a/debian/control b/debian/control
index 5b810ce..980a927 100644
--- a/debian/control
+++ b/debian/control
@@ -104,3 +104,17 @@ Description: documentation for Qt Creator IDE
  and easier.
  .
  This package contains documentation for Qt Creator IDE.
+
+Package: qtcreator-devel
+Architecture: all
+Multi-Arch: foreign
+Section: doc
+Depends: ${misc:Depends}
+Suggests: qt5-datga
+Description: Devel files to create plugins for Qt Creator IDE
+ Qt Creator is a cross-platform integrated development environment (IDE)
+ designed to make development with the Qt application framework faster
+ and easier.
+ .
+ This package contains source code of Qt Creator IDE needed to build
+ plugins.
----------------------------------------------

In the rules file, I have activated the devel component:


----------------------------------------------
diff --git a/debian/rules b/debian/rules
index b552a4e..bdc3d26 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,6 +42,7 @@ execute_after_dh_auto_install:
 ifneq (,$(filter qtcreator-doc, $(shell dh_listpackages)))
DESTDIR=$(CURDIR)/debian/tmp cmake --install $(CURDIR)/builddir --component qch_docs DESTDIR=$(CURDIR)/debian/tmp cmake --install $(CURDIR)/builddir --component html_docs + DESTDIR=$(CURDIR)/debian/tmp cmake --install $(CURDIR)/builddir --component Devel
 endif

        # Not needed
----------------------------------------------

And in the debian directory, I have added debian/qtcreator-devel.install with:

----------------------------------------------
usr/include/qtcreator usr/src
usr/lib/cmake usr/src/qtcreator
----------------------------------------------

I have tried to follow the directory structure from the arch package [1]. Probably I will have made some mistakes.

Although the package is built (also backported for bullseye), I have some trouble when I try to build a plugin, specially with the paths.

So, please, could you check it?

Best regards,

Leopold


[1] https://archlinux.pkgs.org/rolling/ownstuff-x86_64/qtcreator-src-6.0.1-1-any.pkg.tar.zst.html

--
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


Reply to: